jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] Cosmetic_changes: Use 'comment' option not attribute ......................................................................
[FIX] Cosmetic_changes: Use 'comment' option not attribute
Change-Id: If7477a22961f4cc54e39bac2d82b6edb920a27c9 --- M scripts/cosmetic_changes.py 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: Ricordisamoa: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/cosmetic_changes.py b/scripts/cosmetic_changes.py index 9e87462..d11e09f 100755 --- a/scripts/cosmetic_changes.py +++ b/scripts/cosmetic_changes.py @@ -850,7 +850,8 @@ namespace=page.namespace(), pageTitle=page.title()) changedText = ccToolkit.change(page.get()) - self.userPut(page, page.text, changedText, comment=self.comment, + self.userPut(page, page.text, changedText, + comment=self.getOption('comment'), async=self.getOption('async')) except pywikibot.NoPage: pywikibot.output("Page %s does not exist?!"
pywikibot-commits@lists.wikimedia.org