[Zodb-checkins] SVN: ZODB/trunk/src/scripts/fsrefs.py fsrefs.py was reporting spurious 'missing' classes.

Tres Seaver tseaver at palladion.com
Thu Jul 27 18:26:27 EDT 2006


Log message for revision 69280:
  fsrefs.py was reporting spurious 'missing' classes.

Changed:
  U   ZODB/trunk/src/scripts/fsrefs.py

-=-
Modified: ZODB/trunk/src/scripts/fsrefs.py
===================================================================
--- ZODB/trunk/src/scripts/fsrefs.py	2006-07-27 22:25:12 UTC (rev 69279)
+++ ZODB/trunk/src/scripts/fsrefs.py	2006-07-27 22:26:27 UTC (rev 69280)
@@ -129,11 +129,8 @@
         data, serial = fs.load(oid, "")
         refs = get_refs(data)
         missing = [] # contains 3-tuples of oid, klass-metadata, reason
-        for info in refs:
-            ref, klass = info
+        for ref, klass in refs:
             if klass is None:
-                # failed to unpack
-                ref = info
                 klass = '<unknown>'
             if ref not in fs._index:
                 missing.append((ref, klass, "missing"))



More information about the Zodb-checkins mailing list