Skip to content

Commit

Permalink
- Lauchpad #143736,#271395: fixed AttributeError' on _ltid in TempSto…
Browse files Browse the repository at this point in the history
…rage
  • Loading branch information
zopyx committed Oct 16, 2008
1 parent 60ffe1b commit b4ab040
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion TemporaryStorage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -72,7 +73,8 @@ def __init__(self, name='TemporaryStorage'):
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) """
Expand Down

0 comments on commit b4ab040

Please sign in to comment.