Commit e4f5174e authored by Philip Bauer's avatar Philip Bauer Committed by Kirill Smelkov

[ZODB4] Fix unbound local error when using the script (#295)

( This is ZODB4 backport of upstream commit fc4c86e6 )
Co-authored-by: 's avatarale-rt <>
parent 40116375
......@@ -5,6 +5,8 @@
4.4.6 (unreleased)
- Fix UnboundLocalError when running script.
See `issue 268 <>`_.
- Fixed: When opening FileStorages in read-only mode, non-existent
files were silently created. Creating a read-only file-storage
against a non-existent file errors.
......@@ -688,7 +688,7 @@ def get_refs(a_pickle):
if isinstance(reference, tuple):
oid, klass = reference
elif isinstance(reference, (bytes, str)):
data, klass = reference, None
oid, klass = reference, None
assert isinstance(reference, list)
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