Commit 90acc2a1 authored by Florent Guillaume's avatar Florent Guillaume

Cleanup unused vars.

parent 78b232a6
...@@ -79,15 +79,16 @@ class Connection(ExportImport, object): ...@@ -79,15 +79,16 @@ class Connection(ExportImport, object):
self.new_oid = db._storage.new_oid self.new_oid = db._storage.new_oid
self._savepoint_storage = None 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._log = logging.getLogger("ZODB.Connection")
self._debug_info = () self._debug_info = ()
self._opened = None # time.time() when DB.open() opened us self._opened = None # time.time() when DB.open() opened us
self._version = version self._version = version
self._cache = cache = PickleCache(self, cache_size) self._cache = PickleCache(self, cache_size)
if version: if version:
# Caches for versions end up empty if the version # Caches for versions end up empty if the version
# is not used for a while. Non-version caches # is not used for a while. Non-version caches
...@@ -96,7 +97,6 @@ class Connection(ExportImport, object): ...@@ -96,7 +97,6 @@ class Connection(ExportImport, object):
self._cache.cache_drain_resistance = 100 self._cache.cache_drain_resistance = 100
self._committed = []
self._added = {} self._added = {}
self._added_during_commit = None self._added_during_commit = None
self._reset_counter = global_reset_counter self._reset_counter = global_reset_counter
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment