Commit cf112582 authored by Guido van Rossum's avatar Guido van Rossum

Fix a mysterious occurrence of 'dumps'. Found by pychecker. Jeremy

says it should be cPickle.dumps(), so do that.
parent 8cba5055
......@@ -15,8 +15,9 @@
"""
# Do this portably in the face of checking out with -kv
import string
__version__ = string.split('$Revision: 1.23 $')[-2:][0]
__version__ = string.split('$Revision: 1.24 $')[-2:][0]
import cPickle
import ThreadLock, bpthread
import time, UndoLogCompatible
import POSException
......@@ -138,9 +139,9 @@ class BaseStorage(UndoLogCompatible.UndoLogCompatible):
desc = transaction.description
ext = transaction._extension
if ext:
ext = dumps(ext,1)
ext = cPickle.dumps(ext, 1)
else:
ext=""
ext = ""
self._ude = user, desc, ext
if tid is None:
......
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