r85159 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85158‎ | r85159 | r85160 >
Date:22:07, 1 April 2011
Author:diederik
Status:deferred
Tags:
Comment:
Forgot to uncomment a function.
Modified paths:
  • /trunk/tools/editor_trends/etl/enricher.py (modified) (history)

Diff [purge]

Index: trunk/tools/editor_trends/etl/enricher.py
@@ -526,8 +526,6 @@
527527 counts.setdefault(contributor['username'], 0)
528528 counts[contributor['username']] += 1
529529 revision.clear()
530 -
531 - article = None
532530 return counts
533531
534532
@@ -549,8 +547,6 @@
550548 hashes = deque()
551549 size = {}
552550 revisions = article['revisions']
553 - if revisions:
554 - return
555551 for revision in revisions:
556552 cache.stats.count_revisions += 1
557553 if revision == None:
@@ -774,7 +770,7 @@
775771 lock2 = RLock()
776772 lock3 = RLock()
777773 locks = [lock1, lock2, lock3]
778 - #setup(storage, rts)
 774+ setup(storage, rts)
779775 multiprocessor_launcher(function, path, dataset, storage, processors, extension, locks, rts)
780776
781777