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
Joshua
zodb
Commits
8215fdc8
Commit
8215fdc8
authored
Apr 08, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
One more place to use the PersistentUnpickler. Fixes AnalyzeDotPyTest under PyPy.
parent
cbee2907
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/ZODB/scripts/analyze.py
src/ZODB/scripts/analyze.py
+2
-3
No files found.
src/ZODB/scripts/analyze.py
View file @
8215fdc8
...
...
@@ -6,7 +6,7 @@ from __future__ import print_function
import
sys
from
ZODB.FileStorage
import
FileStorage
from
ZODB._compat
import
Unpickler
,
BytesIO
from
ZODB._compat
import
Persistent
Unpickler
,
BytesIO
...
...
@@ -22,8 +22,7 @@ def fake_find_class(module, name):
def
FakeUnpickler
(
f
):
unpickler
=
Unpickler
(
f
)
unpickler
.
find_global
=
fake_find_class
unpickler
=
PersistentUnpickler
(
fake_find_class
,
None
,
f
)
return
unpickler
...
...
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