r84697 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84696‎ | r84697 | r84698 >
Date:20:02, 24 March 2011
Author:diederik
Status:deferred
Tags:
Comment:
Added counting number of edits for prediction dataset.
Modified paths:
  • /trunk/tools/editor_trends/etl/enricher.py (modified) (history)

Diff [purge]

Index: trunk/tools/editor_trends/etl/enricher.py
@@ -474,8 +474,8 @@
475475 for x in xrange(cpu_count()):
476476 input_queue.put(None)
477477
478 - extracters = [Process(target=stream_raw_xml, args=[input_queue, function, storage, x, dataset])
479 - for x in xrange(cpu_count())]
 478+ extracters = [Process(target=stream_raw_xml, args=[input_queue, storage, id, function, dataset])
 479+ for id in xrange(cpu_count())]
480480 for extracter in extracters:
481481 extracter.start()
482482

Status & tagging log