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:
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/871906
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ide4f12eee407e0c6a52e23c9e61b67baaf1c8c4f
Gerrit-Change-Number: 871906
Gerrit-PatchSet: 2
Gerrit-Owner: Costa Shul <constantine.shulyupin(a)gmail.com>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-CC: Matěj Suchánek <matejsuchanek97(a)gmail.com>
Gerrit-MessageType: merged