Commit 21bdbed3 authored by Vincent Pelletier's avatar Vincent Pelletier

DB constructor takes only one parameter.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13640 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 429dd8a1
......@@ -134,7 +134,7 @@ class Connection(DABase.Connection):
if connection is not None:
connection.close()
DB = self.factory()
database_connection_pool[pool_key] = DB(s, self)
database_connection_pool[pool_key] = DB(s)
self._v_database_connection = database_connection_pool[pool_key]
# XXX If date is used as such, it can be wrong because an existing
# connection may be reused. But this is suposedly only used as a
......
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