Index: trunk/tools/editor_trends/etl/enricher.py |
— | — | @@ -526,8 +526,6 @@ |
527 | 527 | counts.setdefault(contributor['username'], 0) |
528 | 528 | counts[contributor['username']] += 1 |
529 | 529 | revision.clear() |
530 | | - |
531 | | - article = None |
532 | 530 | return counts |
533 | 531 | |
534 | 532 | |
— | — | @@ -549,8 +547,6 @@ |
550 | 548 | hashes = deque() |
551 | 549 | size = {} |
552 | 550 | revisions = article['revisions'] |
553 | | - if revisions: |
554 | | - return |
555 | 551 | for revision in revisions: |
556 | 552 | cache.stats.count_revisions += 1 |
557 | 553 | if revision == None: |
— | — | @@ -774,7 +770,7 @@ |
775 | 771 | lock2 = RLock() |
776 | 772 | lock3 = RLock() |
777 | 773 | locks = [lock1, lock2, lock3] |
778 | | - #setup(storage, rts) |
| 774 | + setup(storage, rts) |
779 | 775 | multiprocessor_launcher(function, path, dataset, storage, processors, extension, locks, rts) |
780 | 776 | |
781 | 777 | |