dabo Commit
Revision 2226
Date: 2006-06-20 05:53:19 -0700 (Tue, 20 Jun 2006)
Author: echo
Changed:
U trunk/dabo/db/dBackend.py
Log:
Fixed a bug when simply trying to create a dConnectInfo with no gui. Is this
the best way to fix this?
Diff:
Modified: trunk/dabo/db/dBackend.py
===================================================================
--- trunk/dabo/db/dBackend.py 2006-06-20 12:42:34 UTC (rev 2225)
+++ trunk/dabo/db/dBackend.py 2006-06-20 12:53:19 UTC (rev 2226)
@@ -21,7 +21,8 @@
super(dBackend, self).__init__()
self.dbModuleName = None
self._connection = None
- self._encoding = self.Application.Encoding
+ if self.Application:
+ self._encoding = self.Application.Encoding
def isValidModule(self):
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev