Revision: 6319 Author: nicdumz Date: 2009-02-03 16:13:26 +0000 (Tue, 03 Feb 2009)
Log Message: ----------- Fixing a NameError (copy-pasting is bad.)
Modified Paths: -------------- trunk/pywikipedia/category.py
Modified: trunk/pywikipedia/category.py =================================================================== --- trunk/pywikipedia/category.py 2009-01-31 15:34:40 UTC (rev 6318) +++ trunk/pywikipedia/category.py 2009-02-03 16:13:26 UTC (rev 6319) @@ -641,7 +641,7 @@ def __init__(self, catTitle, catDB): self.catTitle = catTitle self.catDB = catDB - self.editSummary = wikipedia.translate(wikipedia.getSite(), msg_change) % cat.title() + self.editSummary = wikipedia.translate(wikipedia.getSite(), msg_change) % catTitle
def move_to_category(self, article, original_cat, current_cat): '''