[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7138 - trunk/gnue-common/src/datasources/drivers/Base
From: |
reinhard |
Subject: |
[gnue] r7138 - trunk/gnue-common/src/datasources/drivers/Base |
Date: |
Tue, 8 Mar 2005 16:41:25 -0600 (CST) |
Author: reinhard
Date: 2005-03-08 16:41:24 -0600 (Tue, 08 Mar 2005)
New Revision: 7138
Modified:
trunk/gnue-common/src/datasources/drivers/Base/DataObject.py
Log:
Temporary fix while _dataConnection is still used.
Modified: trunk/gnue-common/src/datasources/drivers/Base/DataObject.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/Base/DataObject.py
2005-03-08 22:32:06 UTC (rev 7137)
+++ trunk/gnue-common/src/datasources/drivers/Base/DataObject.py
2005-03-08 22:41:24 UTC (rev 7138)
@@ -149,7 +149,9 @@
# Connect to database from a GConnection object
#
def connect(self):
- self._dataConnection = self._connection.native
+ # FIXME: make _dataConnection go away
+ if hasattr (self._connection, 'native'):
+ self._dataConnection = self._connection.native
def commit(self):
GDebug.printMesg(1,'WARNING: The use of DataObject.commit() is deprecated')
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7138 - trunk/gnue-common/src/datasources/drivers/Base,
reinhard <=