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

lamby pushed a commit to branch master
in repository devscripts.

commit 297f8010ad97b2b5567399d073a89d2970fe0859
Author: Chris Lamb <la...@debian.org>
Date:   Sat Sep 16 18:28:48 2017 +0100

    Revert "reproducible-check: Optionally support coloured terminal output."
    
    Can't make it look not-ugly.
    
    This reverts commit ef350bc58f8989b5f2f27083cccbc8ea5c54be7b.
---
 debian/control             |  1 -
 scripts/reproducible-check | 17 ++++-------------
 2 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/debian/control b/debian/control
index 4cd229f..812cde4 100644
--- a/debian/control
+++ b/debian/control
@@ -114,7 +114,6 @@ Suggests: adequate,
           mozilla-devscripts,
           mutt,
           piuparts,
-          python3-termcolor,
           quilt,
           ratt,
           reprotest,
diff --git a/scripts/reproducible-check b/scripts/reproducible-check
index ea8ac9f..6c8dab1 100755
--- a/scripts/reproducible-check
+++ b/scripts/reproducible-check
@@ -28,12 +28,6 @@ import collections
 
 from xdg.BaseDirectory import xdg_cache_home
 
-try:
-    from termcolor import colored
-except ImportError:
-    def colored(val, *args, **kwargs):
-        return val
-
 
 class ReproducibleCheck(object):
     HELP = """
@@ -154,18 +148,15 @@ class ReproducibleCheck(object):
         for key, binaries in sorted(unreproducible.items()):
             source, architecture, version = key
 
-            url = 'https://tests.reproducible-builds.org/debian/{}' \
-                .format(source)
             binaries_fmt = '({}) '.format(', '.join(binaries)) \
                 if binaries != [source] else ''
 
-            print("{} {} ({}) is unreproducible {}<{}>".format(
-                colored('W:', 'red'),
-                colored(source, attrs=['bold']),
+            print("{} ({}) is unreproducible {}".format(
+                source,
                 version,
                 binaries_fmt,
-                colored(url, attrs=['underline']),
-            ))
+            ), end='')
+            
print("<https://tests.reproducible-builds.org/debian/{}>".format(source))
 
         print("{}/{} ({:.2f}%) of installed binary packages are 
unreproducible.".format(
             num_unreproducible,

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/collab-maint/devscripts.git

_______________________________________________
devscripts-devel mailing list
devscripts-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to