summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_notes.py
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2016-08-01 10:58:59 -0400
committerHolger Levsen <holger@layer-acht.org>2016-08-01 11:30:48 -0400
commit69b6d001fb51bcef13114ccbb10d5a9f5d65baa7 (patch)
treed73d0b94c977f09edbd6d7012ee92baf7a2da046 /bin/reproducible_notes.py
parent3700c5dff3b9299ad2becba3ab90517d4bd4e733 (diff)
downloadjenkins.debian.net-69b6d001fb51bcef13114ccbb10d5a9f5d65baa7.tar.xz
reproducible: prefer interpolation over concatentation
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_notes.py')
-rwxr-xr-xbin/reproducible_notes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_notes.py b/bin/reproducible_notes.py
index adb43a02..81860fe1 100755
--- a/bin/reproducible_notes.py
+++ b/bin/reproducible_notes.py
@@ -52,8 +52,8 @@ def load_notes():
+ '\nThis means there is no tested ' +
'package with the name ' + pkg)
try:
- irc_msg('There is problem with the note for ' + pkg +
- ' - please check ' + os.environ['BUILD_URL'])
+ irc_msg("There is problem with the note for {} - "
+ "please check {}".format(pkg, os.environ['BUILD_URL']))
except KeyError:
log.error('There is a problem with the note for %s - please '
'check.', pkg)