jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1101156?usp=email )
Change subject: IMPR: Fix spelling mistakes in blockpageschecker
......................................................................
IMPR: Fix spelling mistakes in blockpageschecker
Change-Id: Iba45aaef7a2d01fcca678d7de7aa6ab95fe9b580
---
M scripts/blockpageschecker.py
1 file changed, 6 insertions(+), 5 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/blockpageschecker.py b/scripts/blockpageschecker.py
index 0a2c6d9..adf2cc0 100755
--- a/scripts/blockpageschecker.py
+++ b/scripts/blockpageschecker.py
@@ -205,12 +205,12 @@
def setup(self) -> None:
"""Initialize the coroutine for parsing templates."""
- self.parse_tempates = self.remove_templates()
- self.parse_tempates.send(None)
+ self.parse_templates = self.remove_templates()
+ self.parse_templates.send(None)
def teardown(self) -> None:
"""Close the coroutine."""
- self.parse_tempates.close()
+ self.parse_templates.close()
def treat_page(self) -> None:
"""Load the given page, do some changes, and save it."""
@@ -222,8 +222,9 @@
self.invoke_editor(page)
return
- newtext, key = self.parse_tempates.send((page.text, page.protection()))
- next(self.parse_tempates)
+ newtext, key = self.parse_templates.send(
+ (page.text, page.protection()))
+ next(self.parse_templates)
if not key:
return
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1101156?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iba45aaef7a2d01fcca678d7de7aa6ab95fe9b580
Gerrit-Change-Number: 1101156
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]