Commit fbbe155a authored by Vincent Pelletier's avatar Vincent Pelletier

Oops, we must close the dictionary *value*, not the key.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13671 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0c736d01
...@@ -207,7 +207,7 @@ class DB(TM): ...@@ -207,7 +207,7 @@ class DB(TM):
self._finished_or_aborted[get_ident()] = value self._finished_or_aborted[get_ident()] = value
def cleanupConnections(self): def cleanupConnections(self):
for db in self.db: for db in self.db.itervalues():
db.close() db.close()
def forceReconnection(self): def forceReconnection(self):
......
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