> Attached is the following:

Updated patch attached - I accidentally a verb. Thanks mattia!


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
From 35aab7a62ad98190bed81d8afe78493eb4f35d01 Mon Sep 17 00:00:00 2001
From: Chris Lamb <la...@debian.org>
Date: Mon, 1 Aug 2016 11:12:49 -0400
Subject: [PATCH 2/2] reproducible: Suggest that "problem with note" is about
 an RM'd package

---
 bin/reproducible_notes.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_notes.py b/bin/reproducible_notes.py
index 81860fe..85c32ce 100755
--- a/bin/reproducible_notes.py
+++ b/bin/reproducible_notes.py
@@ -52,8 +52,9 @@ def load_notes():
                                    + '\nThis means there is no tested ' +
                                    'package with the name ' + pkg)
             try:
-                irc_msg("There is problem with the note for {} - "
-                    "please check {}".format(pkg, os.environ['BUILD_URL']))
+                irc_msg("There is problem with the note for {} (it may "
+                    "have been removed from the archive). Please check {}".
+                    format(pkg, os.environ['BUILD_URL']))
             except KeyError:
                 log.error('There is a problem with the note for %s - please '
                           'check.', pkg)
-- 
2.8.1

From e83c9ce97e6a7a96fc104ac8d40ab9c9587a748a Mon Sep 17 00:00:00 2001
From: Chris Lamb <la...@debian.org>
Date: Mon, 1 Aug 2016 10:58:59 -0400
Subject: [PATCH 1/2] reproducible: prefer interpolation over concatentation

---
 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)
-- 
2.8.1

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to