[py-svn] commit/py: Ronn... at gmx.de: surprisingly windows error 21 has a errno of 13

Bitbucket commits-noreply at bitbucket.org
Sun Apr 8 22:08:52 CEST 2012


1 new commit in py:


https://bitbucket.org/hpk42/py/changeset/9b7e6fc1ad68/
changeset:   9b7e6fc1ad68
user:        Ronn... at gmx.de
date:        2012-04-09 08:06:30
summary:     surprisingly windows error 21 has a errno of 13
affected #:  1 file

diff -r 4919f3a2d859d884c028a9316a68d825aa1df685 -r 9b7e6fc1ad68a7a3ba94c98d71f2961610f8530c py/_error.py
--- a/py/_error.py
+++ b/py/_error.py
@@ -23,7 +23,7 @@
     2: errno.ENOENT,
     3: errno.ENOENT,
     17: errno.EEXIST,
-    21: errno.EBUSY, # empty cd drive, but ENOMEDIUM seems unavailiable
+    13: errno.EBUSY, # empty cd drive, but ENOMEDIUM seems unavailiable
     22: errno.ENOTDIR,
     267: errno.ENOTDIR,
     5: errno.EACCES,  # anything better?

Repository URL: https://bitbucket.org/hpk42/py/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the pytest-commit mailing list