Revision: 6503
Author:   filnik
Date:     2009-03-09 14:43:57 +0000 (Mon, 09 Mar 2009)

Log Message:
-----------
Minifix

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

Modified: trunk/pywikipedia/checkimages.py
===================================================================
--- trunk/pywikipedia/checkimages.py    2009-03-09 14:32:40 UTC (rev 6502)
+++ trunk/pywikipedia/checkimages.py    2009-03-09 14:43:57 UTC (rev 6503)
@@ -1377,7 +1377,11 @@
         #if p.exists(): <-- improve thebot, better to make as
         #                   less call to the server as possible
         # Here begins the check block.
-        if self.some_problem == True:
+        if brackets == True and license_found != None:
+            # It works also without this... but i want only to be sure ^^
+            brackets = False
+            return True
+        elif self.some_problem == True:
             if self.mex_used in self.imageCheckText:
                 wikipedia.output(u'File already fixed. Skip.')
                 return True
@@ -1395,10 +1399,7 @@
                 wikipedia.output(u"Skipping the file...")
             self.some_problem = False
             return True
-        elif brackets == True and license_found != None:
-            # It works also without this... but i want only to be sure ^^
-            brackets = False
-            return True
+        
         elif delete == True:
             wikipedia.output(u"%s is not a file!" % self.imageName)
             # Modify summary text



_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to