Commit 475d8cb8 authored by Dmitry Vasiliev's avatar Dmitry Vasiliev

Eliminated unused md5 digest

parent a43f15e5
......@@ -11,7 +11,6 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
import md5
import struct
from ZODB.FileStorage import FileIterator
......@@ -39,8 +38,8 @@ def fsdump(path, file=None, with_offset=1):
fullclass = "undo or abort of object creation"
else:
modname, classname = get_pickle_metadata(rec.data)
dig = md5.new(rec.data).hexdigest()
fullclass = "%s.%s" % (modname, classname)
# FIXME: Is this used?
# special case for testing purposes
if fullclass == "ZODB.tests.MinPO.MinPO":
obj = zodb_unpickle(rec.data)
......
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