From fbbe155af39207c642ca66d6fa3161b0e3ed7b3f Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Mon, 26 Mar 2007 15:41:36 +0000 Subject: [PATCH] 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 --- product/ZMySQLDA/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ZMySQLDA/db.py b/product/ZMySQLDA/db.py index 7d53b8b913..0ea45674d5 100644 --- a/product/ZMySQLDA/db.py +++ b/product/ZMySQLDA/db.py @@ -207,7 +207,7 @@ class DB(TM): self._finished_or_aborted[get_ident()] = value def cleanupConnections(self): - for db in self.db: + for db in self.db.itervalues(): db.close() def forceReconnection(self): -- 2.30.9