jenkins-bot has submitted this change and it was merged.
Change subject: fixup I84cdc5dcb8626d2cc1d18f963a8d6fdf4c99da6a
......................................................................
fixup I84cdc5dcb8626d2cc1d18f963a8d6fdf4c99da6a
using self.getOption('always') instead of self.options['always']
Change-Id: Ie27946d546425b048cadea8a6ce0bd07b891bc91
---
M pywikibot/bot.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Ladsgroup: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/bot.py b/pywikibot/bot.py
index d0a20f9..3f97014 100644
--- a/pywikibot/bot.py
+++ b/pywikibot/bot.py
@@ -880,7 +880,7 @@
if not self.user_confirm('Do you want to accept these changes?'):
return
- if 'async' not in kwargs and self.options['always']:
+ if 'async' not in kwargs and self.getOption('always'):
kwargs['async'] = True
page.text = newtext
--
To view, visit
https://gerrit.wikimedia.org/r/157785
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie27946d546425b048cadea8a6ce0bd07b891bc91
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Ricordisamoa <ricordisamoa(a)openmailbox.org>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Ricordisamoa <ricordisamoa(a)openmailbox.org>
Gerrit-Reviewer: jenkins-bot <>