Index: trunk/fundraiser-statistics/fundraiser-scripts/classes/DataLoader.py |
— | — | @@ -165,12 +165,11 @@ |
166 | 166 | def get_sql_filename_for_query(self, query_type): |
167 | 167 | |
168 | 168 | try: |
169 | | - query_name = self.get_sql_filename_for_query(query_type) |
| 169 | + return self._query_names_[query_type] |
170 | 170 | except KeyError: |
171 | 171 | print >> sys.stderr, 'Could not find a query for type: ' + query_type |
172 | 172 | sys.exit(2) |
173 | 173 | |
174 | | - return query_name |
175 | 174 | |
176 | 175 | class IntervalReportingLoader(DataLoader): |
177 | 176 | |