backport stable branch
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 09 Jun 2010 09:42:52 +0200
changeset 5691 ba2347050144
parent 5689 18d4e78b9369 (current diff)
parent 5690 6de8437b06bd (diff)
child 5694 ce2c108a9595
backport stable branch
server/sources/native.py
--- a/server/sources/native.py	Mon Jun 07 19:17:41 2010 +0200
+++ b/server/sources/native.py	Wed Jun 09 09:42:52 2010 +0200
@@ -256,7 +256,7 @@
         # we need a lock to protect eid attribution function (XXX, really?
         # explain)
         self._eid_creation_lock = Lock()
-        self._eid_creation_cnx = self.get_connection()
+        self._eid_creation_cnx = None
         # (etype, attr) / storage mapping
         self._storages = {}
         # entity types that may be used by other multi-sources instances