Commit b0fe5e6d authored by Grégory Wisniewski's avatar Grégory Wisniewski

Alias __del__() with close() method to ensure the connection is closed when the

database manager is deleted.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@723 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent d939c90f
...@@ -188,3 +188,5 @@ class DatabaseManager(object): ...@@ -188,3 +188,5 @@ class DatabaseManager(object):
the given list.""" the given list."""
raise NotImplementedError('this method must be overridden') raise NotImplementedError('this method must be overridden')
__del__ = close
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