fix hardcoded errno value

Bug #852893 reported by Pino Toscano
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Awn Extras
New
Undecided
Unassigned

Bug Description

Currently awn-extras compares an 'errno' value with an hardcoded numeric value, instead of using the constants of the 'errno' Python module.
This can lead to bugs due to E* values being potentially different per-OS, and even per-arch for the same OS.

The attached bzr patch fixes the issue.

Revision history for this message
Pino Toscano (pinotree) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.