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

nicdumz at svn.wikimedia.org nicdumz at svn.wikimedia.org
Thu Jul 3 22:32:38 UTC 2008


Revision: 5667
Author:   nicdumz
Date:     2008-07-03 22:32:37 +0000 (Thu, 03 Jul 2008)

Log Message:
-----------
image -> self.image

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

Modified: trunk/pywikipedia/checkimages.py
===================================================================
--- trunk/pywikipedia/checkimages.py	2008-07-03 19:18:50 UTC (rev 5666)
+++ trunk/pywikipedia/checkimages.py	2008-07-03 22:32:37 UTC (rev 5667)
@@ -717,7 +717,7 @@
                 # Problems? Yes! We have to skip the check part for that image!
                 # Because it's on commons but someone has added something on your project.
                 return False
-            elif 'stemma' in image.lower() and self.site.lang == 'it':
+            elif 'stemma' in self.image.lower() and self.site.lang == 'it':
                 wikipedia.output(u'%s has "stemma" inside, means that it\'s ok.' % image)
                 return True # Problems? No, it's only not on commons but the image needs a check
             else:            





More information about the Pywikipedia-l mailing list