[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: prefer interpolation over concatentation

Holger Levsen holger at layer-acht.org
Mon Aug 1 15:30:59 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 69b6d001fb51bcef13114ccbb10d5a9f5d65baa7
Author: Chris Lamb <lamby at debian.org>
Date:   Mon Aug 1 10:58:59 2016 -0400

    reproducible: prefer interpolation over concatentation
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_notes.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_notes.py b/bin/reproducible_notes.py
index adb43a0..81860fe 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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list