diff options
author | Chris Lamb <lamby@debian.org> | 2016-08-01 10:58:59 -0400 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-08-01 11:30:48 -0400 |
commit | 69b6d001fb51bcef13114ccbb10d5a9f5d65baa7 (patch) | |
tree | d73d0b94c977f09edbd6d7012ee92baf7a2da046 /bin | |
parent | 3700c5dff3b9299ad2becba3ab90517d4bd4e733 (diff) | |
download | jenkins.debian.net-69b6d001fb51bcef13114ccbb10d5a9f5d65baa7.tar.xz |
reproducible: prefer interpolation over concatentation
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_notes.py | 4 |
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) |