[Pywikipedia-l] SVN: [6591] trunk/pywikipedia/copyright.py

cosoleto at svn.wikimedia.org cosoleto at svn.wikimedia.org
Sat Apr 11 18:12:07 UTC 2009


Revision: 6591
Author:   cosoleto
Date:     2009-04-11 18:12:07 +0000 (Sat, 11 Apr 2009)

Log Message:
-----------
Print stats only after the job requested is completed

Modified Paths:
--------------
    trunk/pywikipedia/copyright.py

Modified: trunk/pywikipedia/copyright.py
===================================================================
--- trunk/pywikipedia/copyright.py	2009-04-11 13:51:57 UTC (rev 6590)
+++ trunk/pywikipedia/copyright.py	2009-04-11 18:12:07 UTC (rev 6591)
@@ -1173,6 +1173,7 @@
     preloadingGen = pagegenerators.PreloadingGenerator(gen, pageNumber = pageNumber)
     bot = CheckRobot(preloadingGen)
     bot.run()
+    print_stats()
 
 excl_list = exclusion_list()
 
@@ -1189,4 +1190,3 @@
         main()
     finally:
         wikipedia.stopme()
-        print_stats()





More information about the Pywikipedia-l mailing list