[Zope-CVS] CVS: Products/AdaptableStorage - TmpStore.py:1.3

Shane Hathaway shane@zope.com
Sat, 11 Jan 2003 09:07:15 -0500


Update of /cvs-repository/Products/AdaptableStorage
In directory cvs.zope.org:/tmp/cvs-serv4101

Modified Files:
	TmpStore.py 
Log Message:
Removed dependency on the new name "z64".


=== Products/AdaptableStorage/TmpStore.py 1.2 => 1.3 ===
--- Products/AdaptableStorage/TmpStore.py:1.2	Tue Dec 31 16:15:22 2002
+++ Products/AdaptableStorage/TmpStore.py	Sat Jan 11 09:07:13 2003
@@ -13,7 +13,7 @@
 ##############################################################################
 
 from ZODB import POSException
-from ZODB.utils import p64, u64, z64
+from ZODB.utils import p64, u64
 
 import tempfile
 
@@ -85,7 +85,7 @@
         self._file.seek(self._pos)
         l = len(data)
         if serial is None:
-            serial = z64
+            serial = '\0' * 8
         header = p64(len(oid)) + oid + serial + p64(l)
         self._file.write(header)
         self._file.write(data)