Author: reinhard
Date: 2005-04-18 17:26:52 -0500 (Mon, 18 Apr 2005)
New Revision: 7408

Modified:
   trunk/gnue-reports/src/base/GRDataMapper.py
Log:
Removed last direct DataObject access in reports.


Modified: trunk/gnue-reports/src/base/GRDataMapper.py
===================================================================
--- trunk/gnue-reports/src/base/GRDataMapper.py 2005-04-18 22:23:02 UTC (rev 
7407)
+++ trunk/gnue-reports/src/base/GRDataMapper.py 2005-04-18 22:26:52 UTC (rev 
7408)
@@ -318,8 +318,8 @@
     # as child sources were queries by the master
     if controlSection.parent == None or controlSection.parent.source == "":
       GDebug.printMesg (4, 'Creating ResultSet for source %s' % source)
-      controlSection.resultset = self.sources.getDataSource(source)\
-             .getDataObject().createResultSet(readOnly=1)
+      controlSection.resultset = \
+          self.sources.getDataSource(source).createResultSet(readOnly=1)
       if controlSection.resultset.nextRecord():
         controlSection.__nextRecord = controlSection.resultset.current
       else:



_______________________________________________
Commit-gnue mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to