fix hardcoded errno values

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

Bug Description

Currently pyroom compares 'errno' values with hardcoded numeric values, 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 issues.

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

Remote bug watches

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