Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#12 fix hardcoded errno values

open
nobody
None
5
2011-09-14
2011-09-14
Pino Toscano
No

currently DenyHosts 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 patch fixes the issue.

Discussion

  • Pino Toscano
    Pino Toscano
    2011-09-14

    errno fix

     
    Attachments