Revision: 6261 Author: russblau Date: 2009-01-15 13:54:29 +0000 (Thu, 15 Jan 2009)
Log Message: ----------- Fix category-redirect bug
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2009-01-15 05:15:14 UTC (rev 6260) +++ trunk/pywikipedia/wikipedia.py 2009-01-15 13:54:29 UTC (rev 6261) @@ -1011,8 +1011,9 @@ self._redirarg = Page(self.site(), item[1][0], defaultNamespace=14).title() # treat first template arg as name of target category - else: - self._catredirect = False + break + else: + self._catredirect = False return self._catredirect
def isEmpty(self):
pywikipedia-l@lists.wikimedia.org