r86866 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86865‎ | r86866 | r86867 >
Date:15:27, 25 April 2011
Author:diederik
Status:deferred
Tags:
Comment:
Added progress information
Modified paths:
  • /trunk/tools/editor_trends/classes/storage.py (modified) (history)

Diff [purge]

Index: trunk/tools/editor_trends/classes/storage.py
@@ -175,8 +175,10 @@
176176 def retrieve_editors(self):
177177 q = queue.JoinableRetryQueue()
178178 cursor = self.find('editor')
 179+ print 'Loading editors...'
179180 for editor in cursor:
180181 q.put(editor['editor'])
 182+ print 'Finished loading editors...'
181183 return q
182184
183185 def retrieve_distinct_keys(self, key, force_new=False):