Revision: 5277 Author: filnik Date: 2008-04-26 19:12:30 +0000 (Sat, 26 Apr 2008)
Log Message: ----------- Little bugfix for untagged images
Modified Paths: -------------- trunk/pywikipedia/checkimages.py
Modified: trunk/pywikipedia/checkimages.py =================================================================== --- trunk/pywikipedia/checkimages.py 2008-04-26 19:06:25 UTC (rev 5276) +++ trunk/pywikipedia/checkimages.py 2008-04-26 19:12:30 UTC (rev 5277) @@ -461,7 +461,7 @@ elif second_text == False: talk_page.put(testoattuale + head + notification, comment = commentox, minorEdit = False) - def untaggedGenerator(self, untaggedProject): + def untaggedGenerator(self, untaggedProject, limit): lang = untaggedProject.split('.', 1)[0] project = '.%s' % untaggedProject.split('.', 1)[1] if lang == 'commons': @@ -809,7 +809,7 @@ mainClass = main(site) # Untagged is True? Let's take that generator if untagged == True: - generator = mainClass.untaggedGenerator(projectUntagged) + generator = mainClass.untaggedGenerator(projectUntagged, limit) normal = False # Ensure that normal is False # Normal True? Take the default generator if normal == True:
pywikipedia-l@lists.wikimedia.org