dabo Commit
Revision 2934
Date: 2007-03-19 11:16:34 -0700 (Mon, 19 Mar 2007)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/2934
Changed:
U trunk/dabo/db/dConnection.py
Log:
Added close() method to dConnection, which is a simple wrapper to the close()
method in dbapi.
Diff:
Modified: trunk/dabo/db/dConnection.py
===================================================================
--- trunk/dabo/db/dConnection.py 2007-03-18 21:56:55 UTC (rev 2933)
+++ trunk/dabo/db/dConnection.py 2007-03-19 18:16:34 UTC (rev 2934)
@@ -32,6 +32,9 @@
def getConnection(self):
return self._connection
+
+ def close(self):
+ self._connection.close()
def getDictCursorClass(self):
return self._connectInfo.getDictCursorClass()
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev