jenkins-bot has submitted this change and it was merged.
Change subject: Use subcategories() method instead of this roundabout method call. ......................................................................
Use subcategories() method instead of this roundabout method call.
Change-Id: Id125dade743028350148dfb00774a2dba3f3b77d --- M scripts/category_redirect.py 1 file changed, 1 insertion(+), 2 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/category_redirect.py b/scripts/category_redirect.py index 7aa1bc6..c60572a 100755 --- a/scripts/category_redirect.py +++ b/scripts/category_redirect.py @@ -264,8 +264,7 @@
# get a list of all members of the category-redirect category catpages = dict((c, None) - for c in self.site.categorymembers(redircat, - namespaces=[14])) + for c in redircat.subcategories())
# check the category pages for redirected categories pywikibot.output(u"")
pywikibot-commits@lists.wikimedia.org