jenkins-bot has submitted this change and it was merged.
Change subject: Fix error because of passing too many parameters ......................................................................
Fix error because of passing too many parameters
Function delete_1_broken_redirect accepts just only one parameter, but there is one line calling this function with two parameters, consequently making an error. This patch trims the excessive parameter so that the script will be functional again.
Change-Id: Ic3da077470b3358081ed8ffd85ef774d74837d40 --- M scripts/redirect.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Merlijn van Deen: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/redirect.py b/scripts/redirect.py index d43d0d5..ed1fc16 100755 --- a/scripts/redirect.py +++ b/scripts/redirect.py @@ -715,7 +715,7 @@ if code == 1: continue elif code == 0: - self.delete_1_broken_redirect(redir_name, delete_reason) + self.delete_1_broken_redirect(redir_name) count += 1 else: self.fix_1_double_redirect(redir_name)
pywikibot-commits@lists.wikimedia.org