r86562 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86561‎ | r86562 | r86563 >
Date:22:42, 20 April 2011
Author:diederik
Status:deferred
Tags:
Comment:
Storing of article information now uses multiprocessing as well.
Modified paths:
  • /trunk/tools/editor_trends/etl/store.py (modified) (history)

Diff [purge]

Index: trunk/tools/editor_trends/etl/store.py
@@ -98,6 +98,7 @@
9999
100100
101101 def store_articles(tasks, rts):
 102+ db = storage.init_database(rts.storage, rts.dbname, rts.articles_raw)
102103 while True:
103104 filename = tasks.get(block=False)
104105 if filename == None: