http://www.mediawiki.org/wiki/Special:Code/MediaWiki/82766

Revision: 82766
Author:   diederik
Date:     2011-02-24 23:38:59 +0000 (Thu, 24 Feb 2011)
Log Message:
-----------
Forgot to clear the buffer...

Modified Paths:
--------------
    trunk/tools/editor_trends/etl/enricher.py

Modified: trunk/tools/editor_trends/etl/enricher.py
===================================================================
--- trunk/tools/editor_trends/etl/enricher.py   2011-02-24 23:37:31 UTC (rev 
82765)
+++ trunk/tools/editor_trends/etl/enricher.py   2011-02-24 23:38:59 UTC (rev 
82766)
@@ -70,6 +70,7 @@
         self.revisions.append(revision)
         if len(self.revisions) == 100:
             self.store()
+            self.revisions = []
 
     def empty(self):
         self.store()


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to