[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/FileStorage/fsdump.py
Eliminated unused md5 digest
Dmitry Vasiliev
dima at hlabs.spb.ru
Thu Feb 3 05:43:26 EST 2005
Log message for revision 29026:
Eliminated unused md5 digest
Changed:
U ZODB/trunk/src/ZODB/FileStorage/fsdump.py
-=-
Modified: ZODB/trunk/src/ZODB/FileStorage/fsdump.py
===================================================================
--- ZODB/trunk/src/ZODB/FileStorage/fsdump.py 2005-02-03 10:14:28 UTC (rev 29025)
+++ ZODB/trunk/src/ZODB/FileStorage/fsdump.py 2005-02-03 10:43:25 UTC (rev 29026)
@@ -11,7 +11,6 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-import md5
import struct
from ZODB.FileStorage import FileIterator
@@ -39,12 +38,12 @@
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)
- # special case for testing purposes
- if fullclass == "ZODB.tests.MinPO.MinPO":
- obj = zodb_unpickle(rec.data)
- fullclass = "%s %s" % (fullclass, obj.value)
+ # FIXME: Is this used?
+ # special case for testing purposes
+ if fullclass == "ZODB.tests.MinPO.MinPO":
+ obj = zodb_unpickle(rec.data)
+ fullclass = "%s %s" % (fullclass, obj.value)
if rec.version:
version = "version=%s " % rec.version
else:
More information about the Zodb-checkins
mailing list