dabo Commit
Revision 6310
Date: 2011-01-11 05:23:28 -0800 (Tue, 11 Jan 2011)
Author: Uwe_Grauer
Trac: http://trac.dabodev.com/changeset/6310

Changed:
U   trunk/dabo/db/dbFirebird.py

Log:
Changed connection params to str type.


Diff:
Modified: trunk/dabo/db/dbFirebird.py
===================================================================
--- trunk/dabo/db/dbFirebird.py 2011-01-08 03:48:49 UTC (rev 6309)
+++ trunk/dabo/db/dbFirebird.py 2011-01-11 13:23:28 UTC (rev 6310)
@@ -52,10 +52,10 @@
                if not port:
                        port = 3050
                # kinterbasdb will barf with unicode strings:
-               host = ustr(connectInfo.Host)
-               user = ustr(connectInfo.User)
-               password = ustr(connectInfo.revealPW())
-               database = ustr(connectInfo.Database)
+               host = str(connectInfo.Host)
+               user = str(connectInfo.User)
+               password = str(connectInfo.revealPW())
+               database = str(connectInfo.Database)
 
                self._connection = self.dbapi.connect(host=host, user=user,
                                password=password, database=database, **kwargs)



_______________________________________________
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]

Reply via email to