Revision: 8659 Author: multichill Date: 2010-10-16 18:43:42 +0000 (Sat, 16 Oct 2010)
Log Message: ----------- Bugfix for r8530.
Modified Paths: -------------- trunk/pywikipedia/imagerecat.py
Modified: trunk/pywikipedia/imagerecat.py =================================================================== --- trunk/pywikipedia/imagerecat.py 2010-10-16 18:34:02 UTC (rev 8658) +++ trunk/pywikipedia/imagerecat.py 2010-10-16 18:43:42 UTC (rev 8659) @@ -225,8 +225,7 @@ categoryPage = pywikibot.Page(pywikibot.getSite(u'commons', u'commons'), cat, defaultNamespace=14) if categoryPage.isCategoryRedirect(): - result.append(getCategoryRedirectTarget(), - categoryPage.titleWithoutNamespace()) + result.append(categoryPage.getCategoryRedirectTarget().titleWithoutNamespace()) else: result.append(cat) return result
pywikipedia-svn@lists.wikimedia.org