r86632 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86631‎ | r86632 | r86633 >
Date:16:22, 21 April 2011
Author:diederik
Status:deferred
Tags:
Comment:
Streamlined naming of variables.
Modified paths:
  • /trunk/tools/editor_trends/manage.py (modified) (history)

Diff [purge]

Index: trunk/tools/editor_trends/manage.py
@@ -17,6 +17,7 @@
1818 __date__ = '2010-10-21'
1919 __version__ = '0.1'
2020
 21+
2122 import os
2223 import logging
2324 import logging.handlers
@@ -351,10 +352,10 @@
352353 stopwatch = timer.Timer()
353354 log.to_db(rts, 'dataset', 'export', stopwatch, event='start')
354355
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)
357358 log.to_csv(logger, rts, 'Start', 'Dataset', dataset_launcher,
358 - chart=chart,
 359+ plugin=plugin,
359360 dbname=rts.dbname,
360361 collection=rts.editors_dataset)
361362 stopwatch.elapsed()