Index: trunk/tools/editor_trends/etl/transformer.py |
— | — | @@ -328,8 +328,8 @@ |
329 | 329 | print rts.dbname, rts.editors_raw |
330 | 330 | input_db, output_db, editors = setup_database(rts) |
331 | 331 | 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) |
334 | 334 | editor() |
335 | 335 | pbar.update(pbar.currval + 1) |
336 | 336 | |