r86537 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86536‎ | r86537 | r86538 >
Date:19:48, 20 April 2011
Author:diederik
Status:deferred
Tags:
Comment:
renamed id to editor_id
Modified paths:
  • /trunk/tools/editor_trends/etl/transformer.py (modified) (history)

Diff [purge]

Index: trunk/tools/editor_trends/etl/transformer.py
@@ -328,8 +328,8 @@
329329 print rts.dbname, rts.editors_raw
330330 input_db, output_db, editors = setup_database(rts)
331331 pbar = progressbar.ProgressBar(maxval=len(editors)).start()
332 - for x, editor in enumerate(editors):
333 - editor = Editor(id, input_db, output_db)
 332+ for editor in editors:
 333+ editor = Editor(editor, input_db, output_db)
334334 editor()
335335 pbar.update(pbar.currval + 1)
336336