308 |
def __getExistingDatasources(self): |
def __getExistingDatasources(self): |
309 |
self.__firstConnection = None |
self.__firstConnection = None |
310 |
self.__datasourceSet = [] |
self.__datasourceSet = [] |
311 |
self.__datasourceMap = [] |
self.__datasourceMap = {} |
312 |
for child in self.form._children: |
for child in self.form._children: |
313 |
if child._type == 'GFDataSource' and hasattr(child,'table'): |
if child._type == 'GFDataSource' and hasattr(child,'table'): |
314 |
self.__datasourceSet.append((child.name,"%s (%s)" % (child.name, child.table))) |
self.__datasourceSet.append((child.name,"%s (%s)" % (child.name, child.table))) |