Revision: 4747 Author: rotem Date: 2007-12-22 10:27:48 +0000 (Sat, 22 Dec 2007)
Log Message: ----------- Fixing a variable name.
Modified Paths: -------------- trunk/pywikipedia/category.py
Modified: trunk/pywikipedia/category.py =================================================================== --- trunk/pywikipedia/category.py 2007-12-22 10:26:24 UTC (rev 4746) +++ trunk/pywikipedia/category.py 2007-12-22 10:27:48 UTC (rev 4747) @@ -401,7 +401,7 @@ preloadingGen = pagegenerators.PreloadingGenerator(gen) for subcategory in preloadingGen: if not self.titleRegex or re.search(self.titleRegex,subcategory.title()): - catlib.change_category(article, self.oldCat, newCat, inPlace=self.inPlace) + catlib.change_category(subcategory, self.oldCat, newCat, inPlace=self.inPlace)
# Delete the old category and its moved talk page if copied and self.deleteEmptySourceCat == True:
pywikipedia-l@lists.wikimedia.org