jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/871906 )
Change subject: CleanBot: fix named parameter `recurse` ......................................................................
CleanBot: fix named parameter `recurse`
Change-Id: Ide4f12eee407e0c6a52e23c9e61b67baaf1c8c4f --- M scripts/category.py 1 file changed, 10 insertions(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/category.py b/scripts/category.py index 4402d2d..6923a4a 100755 --- a/scripts/category.py +++ b/scripts/category.py @@ -1451,7 +1451,7 @@
def treat(self, child) -> None: """Process the category.""" - grandchildren = set(child.articles(self.opt.recurse)) + grandchildren = set(child.articles(recurse=self.opt.recurse)) # For advanced usage uncomment the next line to # check not only grandchildren articles but # grandchildren categories too:
pywikibot-commits@lists.wikimedia.org