[py-svn] r33423 - py/dist/py/misc

arigo at codespeak.net arigo at codespeak.net
Wed Oct 18 22:13:19 CEST 2006


Author: arigo
Date: Wed Oct 18 22:13:18 2006
New Revision: 33423

Modified:
   py/dist/py/misc/error.py
Log:
Add a mapping for error 2 (ERROR_FILE_NOT_FOUND).
For reference, 3 in ERROR_PATH_NOT_FOUND.
Followed #pylib discussion with jpe.


Modified: py/dist/py/misc/error.py
==============================================================================
--- py/dist/py/misc/error.py	(original)
+++ py/dist/py/misc/error.py	Wed Oct 18 22:13:18 2006
@@ -19,6 +19,7 @@
                           )
 
 _winerrnomap = {
+    2: errno.ENOENT, 
     3: errno.ENOENT, 
     267: errno.ENOTDIR,
     5: errno.EACCES,  # anything better?



More information about the pytest-commit mailing list