[py-svn] r9231 - py/dist/py/path/local
hpk at codespeak.net
hpk at codespeak.net
Tue Feb 15 11:32:28 CET 2005
Author: hpk
Date: Tue Feb 15 11:32:28 2005
New Revision: 9231
Modified:
py/dist/py/path/local/local.py
Log:
holger: when you fix it, why not fix it correctly?
Modified: py/dist/py/path/local/local.py
==============================================================================
--- py/dist/py/path/local/local.py (original)
+++ py/dist/py/path/local/local.py Tue Feb 15 11:32:28 2005
@@ -425,7 +425,7 @@
dpath = cls(tempfile.mktemp())
try:
dpath.mkdir()
- except py.path.FileExists:
+ except (py.error.EEXIST, py.error.EPERM, py.error.EACCES):
continue
return dpath
raise py.error.ENOENT(dpath, "could not create tempdir, %d tries" % tries)
More information about the pytest-commit
mailing list