jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] Page: Revert ae69d8dc in isCategoryRedirect ......................................................................
[FIX] Page: Revert ae69d8dc in isCategoryRedirect
In ae69d8dc isCategoryRedirect has been accidentally changed and broken. Nothing in that method needs to be changed due to ae69d8dc.
Change-Id: I489f24ad848188c4ddc3f7073f82c4e66fc1d3ad --- M pywikibot/page.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/page.py b/pywikibot/page.py index 95c53e1..86290c7 100644 --- a/pywikibot/page.py +++ b/pywikibot/page.py @@ -669,7 +669,7 @@ # Get target (first template argument) try: p = pywikibot.Page(self.site, args[0].strip(), ns=14) - if p.namespace == 14: + if p.namespace() == 14: self._catredirect = p.title() else: pywikibot.warning(
pywikibot-commits@lists.wikimedia.org