getlogbook / logbook

A cool logging replacement for Python.
http://logbook.readthedocs.org
Other
1.48k stars 165 forks source link

Don't hardcode errno constant #205

Closed jwilk closed 7 years ago

jwilk commented 8 years ago

The value of ENOENT is architecture-dependent, so don't assume it's always 2.

This bug was found using pydiatra.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 75.026% when pulling 1bd3c27bbe7631add39c8ba5a9dae8c4e3d83938 on jwilk:errno into 099280e2665d4839e2083fac0fb5ff41b35a35d4 on getlogbook:master.