jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] replace: Use correct notation for format ......................................................................
[FIX] replace: Use correct notation for format
When supplying multiple values to format via an iterable (e.g. a tuple) it must be preceded by an asterisk to use each value as a positional value.
Change-Id: I5ae457b7f9a9670b4f2c25e42c2ae45e41ea6083 --- M scripts/replace.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/replace.py b/scripts/replace.py index c13d421..a8fc8cd 100755 --- a/scripts/replace.py +++ b/scripts/replace.py @@ -519,7 +519,7 @@ summary_messages.insert(0, self.summary) else: default_summary = ', '.join( - u'-{0} +{1}'.format(default_summary) + u'-{0} +{1}'.format(*default_summary) for default_summary in default_summaries) summary_messages.insert(0, i18n.twtranslate( pywikibot.Site(), 'replace-replacing',
pywikibot-commits@lists.wikimedia.org