jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] Fix typo to use options attribute
......................................................................
[FIX] Fix typo to use options attribute
Bug: 73027
Change-Id: I6557f5e4046d1a64661cb2807b671310559d5819
---
M scripts/protect.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Nullzero: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/protect.py b/scripts/protect.py
index 09144fb..e1040c6 100644
--- a/scripts/protect.py
+++ b/scripts/protect.py
@@ -99,7 +99,7 @@
if choice == 'n':
continue
elif choice == 'a':
- self.option['always'] = True
+ self.options['always'] = True
applicable = page.applicable_protections()
protections = dict(
[prot for prot in self.protections if prot[0] in applicable])
--
To view, visit https://gerrit.wikimedia.org/r/172126
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6557f5e4046d1a64661cb2807b671310559d5819
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: Nullzero <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits