http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9885
Revision: 9885 Author: xqt Date: 2012-02-11 14:20:55 +0000 (Sat, 11 Feb 2012) Log Message: ----------- fix closing brackets for last commit r9884
Modified Paths: -------------- trunk/pywikipedia/category.py
Modified: trunk/pywikipedia/category.py =================================================================== --- trunk/pywikipedia/category.py 2012-02-11 14:12:35 UTC (rev 9884) +++ trunk/pywikipedia/category.py 2012-02-11 14:20:55 UTC (rev 9885) @@ -439,7 +439,7 @@ # cat's talk page. sectionTitle = i18n.twtranslate(site, 'category-section-title', - self.oldCat.title() + self.oldCat.title()) #Should be OK, we are within if self.oldCat.exists() historySection = u'\n== %s ==\n%s' % (sectionTitle, history) try: @@ -450,7 +450,7 @@ newCat.toggleTalkPage().put( text, i18n.twtranslate(site, 'category-version-history', - self.oldCat.title()) + self.oldCat.title())) except: pywikibot.output( 'History of the category has not been saved to new talk page')