Index: trunk/tools/editor_trends/etl/enricher.py |
— | — | @@ -474,8 +474,8 @@ |
475 | 475 | for x in xrange(cpu_count()): |
476 | 476 | input_queue.put(None) |
477 | 477 | |
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())] |
480 | 480 | for extracter in extracters: |
481 | 481 | extracter.start() |
482 | 482 | |