Index: trunk/tools/editor_trends/manage.py |
— | — | @@ -17,6 +17,7 @@ |
18 | 18 | __date__ = '2010-10-21' |
19 | 19 | __version__ = '0.1' |
20 | 20 | |
| 21 | + |
21 | 22 | import os |
22 | 23 | import logging |
23 | 24 | import logging.handlers |
— | — | @@ -351,10 +352,10 @@ |
352 | 353 | stopwatch = timer.Timer() |
353 | 354 | log.to_db(rts, 'dataset', 'export', stopwatch, event='start') |
354 | 355 | |
355 | | - for chart in rts.charts: |
356 | | - analyzer.generate_chart_data(rts, chart, **rts.keywords) |
| 356 | + for plugin in rts.plugins: |
| 357 | + analyzer.generate_chart_data(rts, plugin, **rts.keywords) |
357 | 358 | log.to_csv(logger, rts, 'Start', 'Dataset', dataset_launcher, |
358 | | - chart=chart, |
| 359 | + plugin=plugin, |
359 | 360 | dbname=rts.dbname, |
360 | 361 | collection=rts.editors_dataset) |
361 | 362 | stopwatch.elapsed() |