Log message for revision 92284:
  - Lauchpad #143736,#271395: fixed AttributeError' on _ltid in TempStorage
  

Changed:
  U   Zope/branches/2.11/doc/CHANGES.txt
  U   Zope/branches/2.11/lib/python/tempstorage/TemporaryStorage.py

-=-
Modified: Zope/branches/2.11/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.11/doc/CHANGES.txt  2008-10-16 18:23:47 UTC (rev 92283)
+++ Zope/branches/2.11/doc/CHANGES.txt  2008-10-16 18:24:52 UTC (rev 92284)
@@ -8,6 +8,8 @@
 
     Bugs Fixed
 
+      - Lauchpad #143736,#271395: fixed AttributeError' on _ltid in TempStorage
+
       - 'AccessControl.ZopeGuards.guarded_import' mapped some Unauthorized
         exceptions onto ImportErrors:  don't do that!  Also, removed
         mutable defaults from argument list, improved tests.

Modified: Zope/branches/2.11/lib/python/tempstorage/TemporaryStorage.py
===================================================================
--- Zope/branches/2.11/lib/python/tempstorage/TemporaryStorage.py       
2008-10-16 18:23:47 UTC (rev 92283)
+++ Zope/branches/2.11/lib/python/tempstorage/TemporaryStorage.py       
2008-10-16 18:24:52 UTC (rev 92284)
@@ -24,6 +24,7 @@
 
 from logging import getLogger
 from ZODB.serialize import referencesf
+from ZODB.utils import z64
 from ZODB import POSException
 from ZODB.BaseStorage import BaseStorage
 from ZODB.ConflictResolution import ConflictResolvingStorage, ResolvedSerial
@@ -72,7 +73,8 @@
         self._conflict_cache = {}
         self._last_cache_gc = 0
         self._recently_gc_oids = [None for x in range (RECENTLY_GC_OIDS_LEN)]
-        self._oid = '\0\0\0\0\0\0\0\0'
+        self._oid = z64
+        self._ltid = z64
 
     def lastTransaction(self):
         """ Return tid for last committed transaction (for ZEO) """

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to