Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
fc4c86e6
Commit
fc4c86e6
authored
Sep 23, 2020
by
Philip Bauer
Committed by
GitHub
Sep 23, 2020
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unbound local error when using the fsoids.py script (#295)
Co-authored-by:
ale-rt
<
alessandro.pisa@gmail.com
>
parent
25f66d34
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGES.rst
CHANGES.rst
+2
-1
src/ZODB/serialize.py
src/ZODB/serialize.py
+1
-1
No files found.
CHANGES.rst
View file @
fc4c86e6
...
...
@@ -5,7 +5,8 @@
5.6.1 (unreleased)
==================
- Nothing changed yet.
- Fix UnboundLocalError when running fsoids.py script.
See `issue 268 <https://github.com/zopefoundation/ZODB/issues/285>`_.
5.6.0 (2020-06-11)
...
...
src/ZODB/serialize.py
View file @
fc4c86e6
...
...
@@ -699,7 +699,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
else
:
assert
isinstance
(
reference
,
list
)
continue
...
...
Kirill Smelkov
@kirr
mentioned in commit
2798502e
·
Mar 31, 2021
mentioned in commit
2798502e
mentioned in commit 2798502eefc20b9ebb1911b0497102c2f3dac0c8
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment