[Pywikipedia-l] SVN: [5703] trunk/pywikipedia/checkimages.py
nicdumz at svn.wikimedia.org
nicdumz at svn.wikimedia.org
Wed Jul 9 16:42:43 UTC 2008
Revision: 5703
Author: nicdumz
Date: 2008-07-09 16:42:43 +0000 (Wed, 09 Jul 2008)
Log Message:
-----------
Bugfix, image -> self.image
Modified Paths:
--------------
trunk/pywikipedia/checkimages.py
Modified: trunk/pywikipedia/checkimages.py
===================================================================
--- trunk/pywikipedia/checkimages.py 2008-07-09 14:52:55 UTC (rev 5702)
+++ trunk/pywikipedia/checkimages.py 2008-07-09 16:42:43 UTC (rev 5703)
@@ -738,7 +738,7 @@
# Because it's on commons but someone has added something on your project.
return False
elif 'stemma' in self.image.lower() and self.site.lang == 'it':
- wikipedia.output(u'%s has "stemma" inside, means that it\'s ok.' % image)
+ wikipedia.output(u'%s has "stemma" inside, means that it\'s ok.' % self.image)
return True # Problems? No, it's only not on commons but the image needs a check
else:
repme = "\n*[[:Image:%s]] is also on '''Commons''': [[commons:Image:%s]]" % (self.image, commons_image_with_this_hash[0])
More information about the Pywikipedia-l
mailing list