[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7280 - trunk/gnue-common/src/datasources/drivers/DBSIG2
From: |
reinhard |
Subject: |
[gnue] r7280 - trunk/gnue-common/src/datasources/drivers/DBSIG2 |
Date: |
Wed, 30 Mar 2005 01:08:11 -0600 (CST) |
Author: reinhard
Date: 2005-03-30 01:08:05 -0600 (Wed, 30 Mar 2005)
New Revision: 7280
Modified:
trunk/gnue-common/src/datasources/drivers/DBSIG2/DataObject.py
Log:
Test if the DataObject has a DataSource at all (thanks to jcater).
Modified: trunk/gnue-common/src/datasources/drivers/DBSIG2/DataObject.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/DBSIG2/DataObject.py
2005-03-29 19:45:48 UTC (rev 7279)
+++ trunk/gnue-common/src/datasources/drivers/DBSIG2/DataObject.py
2005-03-30 07:08:05 UTC (rev 7280)
@@ -288,7 +288,7 @@
join(self._detailfields,","),
self.table, whereClause)
- elif self._dataSource._hasFieldReferences:
+ elif hasattr (self, '_dataSource') and
self._dataSource._hasFieldReferences:
# Explicitly referenced fields give, no need to select *
self._fieldOrder = fields = self._fieldReferences.keys()
q = "SELECT %s%s FROM %s%s" % \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7280 - trunk/gnue-common/src/datasources/drivers/DBSIG2,
reinhard <=