[Pywikipedia-l] SVN: [4747] trunk/pywikipedia/category.py
rotem at svn.wikimedia.org
rotem at svn.wikimedia.org
Sat Dec 22 10:27:49 UTC 2007
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:
More information about the Pywikipedia-l
mailing list