Commit 1c9b406a authored by Andreas Zeidler's avatar Andreas Zeidler

backport r92744 from trunk: "Fix corner case NameError."

parent 53f94301
......@@ -11,6 +11,9 @@ Whats new in ZODB 3.8.1
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.
......
......@@ -367,7 +367,7 @@ class FilesystemHelper:
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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment