[Pywikipedia-l] SVN: [4891] trunk/pywikipedia/checkimages.py

filnik at svn.wikimedia.org filnik at svn.wikimedia.org
Mon Jan 14 19:24:35 UTC 2008


Revision: 4891
Author:   filnik
Date:     2008-01-14 19:24:35 +0000 (Mon, 14 Jan 2008)

Log Message:
-----------
Another problem, return should now make the bot exit

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

Modified: trunk/pywikipedia/checkimages.py
===================================================================
--- trunk/pywikipedia/checkimages.py	2008-01-14 19:15:14 UTC (rev 4890)
+++ trunk/pywikipedia/checkimages.py	2008-01-14 19:24:35 UTC (rev 4891)
@@ -991,7 +991,7 @@
                         time.sleep(time_sleep)
                 elif repeat == False:
                         wikipedia.output(u"\t\t\t>> STOP! <<")
-                        break
+                        return True # Exit
                 
 # Here there is the main loop. I'll take all the (name of the) images and then i'll check them.
 if __name__ == "__main__":





More information about the Pywikipedia-l mailing list