jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/675173 )

Change subject: [IMPR] rename reportBadAccount method to collect_bad_accounts
......................................................................

[IMPR] rename reportBadAccount method to collect_bad_accounts

Change-Id: I359594c9a79e5494e911703268eaf01de42bfe04
---
M scripts/welcome.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/scripts/welcome.py b/scripts/welcome.py
index 9db3913..846a604 100755
--- a/scripts/welcome.py
+++ b/scripts/welcome.py
@@ -584,7 +584,7 @@
                     return True
         return False

-    def reportBadAccount(self, name: str) -> None:  # should be renamed
+    def collect_bad_accounts(self, name: str) -> None:
         """Add bad account to queue."""
         if globalvar.confirm:
             answer = pywikibot.input_choice(
@@ -811,7 +811,7 @@
             return

         if self.badNameFilter(user.username):
-            self.reportBadAccount(user.username)
+            self.collect_bad_accounts(user.username)
             return

         welcome_text = self.welcome_text

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/675173
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: I359594c9a79e5494e911703268eaf01de42bfe04
Gerrit-Change-Number: 675173
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to