dabo Commit
Revision 4719
Date: 2008-11-26 07:42:26 -0800 (Wed, 26 Nov 2008)
Author: Johnf
Trac: http://svn.dabodev.com/trac/dabo/changeset/4719
Changed:
U trunk/dabo/db/dbPostgreSQL.py
Log:
added code to test for the 'forceCreate' in kwargs.
Diff:
Modified: trunk/dabo/db/dbPostgreSQL.py
===================================================================
--- trunk/dabo/db/dbPostgreSQL.py 2008-11-26 04:23:02 UTC (rev 4718)
+++ trunk/dabo/db/dbPostgreSQL.py 2008-11-26 15:42:26 UTC (rev 4719)
@@ -14,7 +14,9 @@
def getConnection(self, connectInfo, **kwargs):
- kwargs.pop('forceCreate')
+ # forceCreate maybe used in the future
+ if 'forceCreate' in kwargs:
+ kwargs.pop('forceCreate')
import psycopg2 as dbapi
#from pyPgSQL import PgSQL as dbapi
self.conn_user = connectInfo.User
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]