[py-svn] r7560 - py/dist/py/path
arigo at codespeak.net
arigo at codespeak.net
Mon Nov 22 14:10:46 CET 2004
Author: arigo
Date: Mon Nov 22 14:10:46 2004
New Revision: 7560
Modified:
py/dist/py/path/error.py
Log:
Added support for the 'Operation not permitted' error, which is not to be
confused with 'Access denied'.
Modified: py/dist/py/path/error.py
==============================================================================
--- py/dist/py/path/error.py (original)
+++ py/dist/py/path/error.py Mon Nov 22 14:10:46 2004
@@ -25,12 +25,15 @@
pass
class NestedLink(Invalid):
pass
+class NotPermitted(Invalid):
+ pass
#__________________________________________________________
# XXX use module errno
_errnoclass = {}
for errno, name in {
+ 1 : 'NotPermitted',
2 : 'FileNotFound',
3 : 'FileExists',
13 : 'PermissionDenied',
More information about the pytest-commit
mailing list