Revision: 5778 Author: filnik Date: 2008-08-01 19:29:29 +0000 (Fri, 01 Aug 2008)
Log Message: ----------- -_- nicdumZ, the programs need to be tested before committing them... -_- indentation fix
Modified Paths: -------------- trunk/pywikipedia/checkimages.py
Modified: trunk/pywikipedia/checkimages.py =================================================================== --- trunk/pywikipedia/checkimages.py 2008-08-01 16:43:09 UTC (rev 5777) +++ trunk/pywikipedia/checkimages.py 2008-08-01 19:29:29 UTC (rev 5778) @@ -870,7 +870,7 @@ if com == None: com = self.com if rep_text == None: rep_text = self.rep_text another_page = wikipedia.Page(self.site, rep_page) - if regex == None: regex = image_to_report + if regex == None: regex = image_to_report if another_page.exists(): text_get = another_page.get() else: @@ -927,7 +927,7 @@
def load_licenses(self): """ Load the list of the licenses """ - catName = wikipedia.translate(self.site, category_with_licenses) + catName = wikipedia.translate(self.site, category_with_licenses) cat = catlib.Category(wikipedia.getSite(), catName) categories = [page.title() for page in pagegenerators.SubCategoriesPageGenerator(cat)] categories.append(catName)