Author: reinhard
Date: 2005-05-01 07:49:33 -0500 (Sun, 01 May 2005)
New Revision: 7507
Modified:
trunk/gnue-reports/src/base/GRSources.py
Log:
No need for GDataSource.commit any more.
Modified: trunk/gnue-reports/src/base/GRSources.py
===================================================================
--- trunk/gnue-reports/src/base/GRSources.py 2005-05-01 12:17:38 UTC (rev
7506)
+++ trunk/gnue-reports/src/base/GRSources.py 2005-05-01 12:49:33 UTC (rev
7507)
@@ -50,18 +50,8 @@
# Connect to databases
self._datasourceDictionary = {}
- self.walk(self.__initConnections)
- # Used internally by self.prepare()
- # Connects to databases
- #
- # TODO: please go bye-bye
- def __initConnections(self, object):
- if object._type == "GRDataSource":
- object.connect()
-
-
def getDataSource(self, source):
return self.getParent ()._datasourceDictionary[string.lower(source)]
_______________________________________________
Commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue