[Zodb-checkins] CVS: ZODB3/ZODB - Connection.py:1.115
Jeremy Hylton
jeremy at zope.com
Wed Jan 14 09:33:45 EST 2004
Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv17177/ZODB
Modified Files:
Connection.py
Log Message:
Remove unused instance variable, and int -> bool conversion.
=== ZODB3/ZODB/Connection.py 1.114 => 1.115 ===
--- ZODB3/ZODB/Connection.py:1.114 Tue Jan 6 13:10:43 2004
+++ ZODB3/ZODB/Connection.py Wed Jan 14 09:33:43 2004
@@ -88,7 +88,6 @@
self._cache.cache_drain_resistance = 100
self._incrgc = self.cacheGC = cache.incrgc
- self._committed = []
self._reset_counter = global_reset_counter
self._load_count = 0 # Number of objects unghosted
self._store_count = 0 # Number of objects stored
@@ -506,7 +505,7 @@
if not (self._mvcc and self._setstate_noncurrent(obj)):
self.getTransaction().register(obj)
- self._conflicts[obj._p_oid] = 1
+ self._conflicts[obj._p_oid] = True
raise ReadConflictError(object=obj)
def _setstate_noncurrent(self, obj):
More information about the Zodb-checkins
mailing list