[Checkins] SVN: ZODB/branches/3.8/ backport r92744 from trunk: "Fix corner case NameError."
Andreas Zeidler
az at zitc.de
Fri May 8 11:59:05 EDT 2009
Log message for revision 99808:
backport r92744 from trunk: "Fix corner case NameError."
Changed:
U ZODB/branches/3.8/NEWS.txt
U ZODB/branches/3.8/src/ZODB/blob.py
-=-
Modified: ZODB/branches/3.8/NEWS.txt
===================================================================
--- ZODB/branches/3.8/NEWS.txt 2009-05-08 15:46:56 UTC (rev 99807)
+++ ZODB/branches/3.8/NEWS.txt 2009-05-08 15:59:05 UTC (rev 99808)
@@ -11,6 +11,9 @@
Bugs Fixed:
+- (3.8.1) Fixed ``NameError`` in cases where a directory cannot be created,
+ e.g. when the necessary permissions are missing.
+
- (3.8.1) Reset ``_cache`` on a connection's ``_reader`` object when
resetting the cache, to prevent reads from the old cache object, e.g.
during Zope2's auto-refresh of products.
Modified: ZODB/branches/3.8/src/ZODB/blob.py
===================================================================
--- ZODB/branches/3.8/src/ZODB/blob.py 2009-05-08 15:46:56 UTC (rev 99807)
+++ ZODB/branches/3.8/src/ZODB/blob.py 2009-05-08 15:59:05 UTC (rev 99808)
@@ -367,7 +367,7 @@
except OSError:
# We might have lost a race. If so, the directory
# must exist now
- assert os.path.exists(targetpath)
+ assert os.path.exists(path)
return path
def getOIDForPath(self, path):
More information about the Checkins
mailing list