Skip to content

Commit

Permalink
assign the right unpickler, fixes #42
Browse files Browse the repository at this point in the history
  • Loading branch information
agroszer committed Dec 18, 2018
1 parent 0b5e409 commit ff1265a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zodbpickle/slowpickle.py
Expand Up @@ -21,7 +21,7 @@
if sys.version_info[0] >= 3:
import zodbpickle.pickle_3 as p
# undo the replacement with fast versions
p.Pickler, p.Unpickler = p._Pickler, p._Pickler
p.Pickler, p.Unpickler = p._Pickler, p._Unpickler
p.dump, p.dumps, p.load, p.loads = p._dump, p._dumps, p._load, p._loads
del p
# pick up all names that the module defines
Expand Down

0 comments on commit ff1265a

Please sign in to comment.