[Zodb-checkins] CVS: ZODB3/ZODB - fspack.py:1.5.2.4
Jeremy Hylton
jeremy at zope.com
Thu May 22 13:36:21 EDT 2003
Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv26316
Modified Files:
Tag: ZODB3-3_1-branch
fspack.py
Log Message:
Add def of missing _fmt_oid().
=== ZODB3/ZODB/fspack.py 1.5.2.3 => 1.5.2.4 ===
--- ZODB3/ZODB/fspack.py:1.5.2.3 Thu May 22 11:30:49 2003
+++ ZODB3/ZODB/fspack.py Thu May 22 12:36:20 2003
@@ -42,6 +42,11 @@
def fsIndex():
return {}
+def _fmt_oid(oid):
+ if oid:
+ return "%016x" % ZODB.utils.u64(oid)
+ return oid
+
class CorruptedError(Exception):
pass
More information about the Zodb-checkins
mailing list