Revision: 7674 Author: filnik Date: 2009-11-20 20:58:54 +0000 (Fri, 20 Nov 2009)
Log Message: ----------- Bugfix, no reporting on commons
Modified Paths: -------------- trunk/pywikipedia/checkimages.py
Modified: trunk/pywikipedia/checkimages.py =================================================================== --- trunk/pywikipedia/checkimages.py 2009-11-20 16:09:04 UTC (rev 7673) +++ trunk/pywikipedia/checkimages.py 2009-11-20 20:58:54 UTC (rev 7674) @@ -605,8 +605,7 @@ else: if not resPutMex: break - - if self.notification and self.head: + if self.notification: try: self.put_mex_in_talk() except wikipedia.EditConflict: @@ -702,14 +701,11 @@ testoattuale = self.talk_page.get() except wikipedia.NoPage: second_text = False - ti_es_ti = wikipedia.translate(self.site, empty) - testoattuale = ti_es_ti + testoattuale = wikipedia.translate(self.site, empty) except wikipedia.NoPage: wikipedia.output(u'The user page is blank') second_text = False - ti_es_ti = wikipedia.translate(self.site, empty) - testoattuale = ti_es_ti - + testoattuale = wikipedia.translate(self.site, empty) if self.commTalk: commentox = self.commTalk else:
pywikipedia-svn@lists.wikimedia.org