[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/Connection.py Cleanup unused vars.

Florent Guillaume fg at nuxeo.com
Mon Jul 3 10:19:07 EDT 2006


Log message for revision 68959:
  Cleanup unused vars.
  

Changed:
  U   ZODB/trunk/src/ZODB/Connection.py

-=-
Modified: ZODB/trunk/src/ZODB/Connection.py
===================================================================
--- ZODB/trunk/src/ZODB/Connection.py	2006-07-03 06:31:24 UTC (rev 68958)
+++ ZODB/trunk/src/ZODB/Connection.py	2006-07-03 14:19:07 UTC (rev 68959)
@@ -79,15 +79,16 @@
         self.new_oid = db._storage.new_oid
         self._savepoint_storage = None
 
-        self.transaction_manager = self._synch = self._mvcc = None
+        self.transaction_manager = None
+        self._synch = None
+        self._mvcc = None
 
-
         self._log = logging.getLogger("ZODB.Connection")
         self._debug_info = ()
         self._opened = None # time.time() when DB.open() opened us
 
         self._version = version
-        self._cache = cache = PickleCache(self, cache_size)
+        self._cache = PickleCache(self, cache_size)
         if version:
             # Caches for versions end up empty if the version
             # is not used for a while. Non-version caches
@@ -96,7 +97,6 @@
 
             self._cache.cache_drain_resistance = 100
 
-        self._committed = []
         self._added = {}
         self._added_during_commit = None
         self._reset_counter = global_reset_counter



More information about the Zodb-checkins mailing list