[Git][reproducible-builds/diffoscope][master] Update the "no progressbar" logging message to match the parallel "missing...

Chris Lamb gitlab at salsa.debian.org
Mon Sep 2 07:50:39 UTC 2019



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
c381c4ac by Chris Lamb at 2019-09-02T07:48:42Z
Update the "no progressbar" logging message to match the parallel "missing tlsh module" warning. (Re: Debian:#939085)

Gbp-Dch: ignore

- - - - -


1 changed file:

- diffoscope/progress.py


Changes:

=====================================
diffoscope/progress.py
=====================================
@@ -78,13 +78,11 @@ class ProgressManager(object):
                 self.register(bar)
                 log_handler = ProgressLoggingHandler(bar)
             except ImportError:
-                # User asked for bar, so show them the error
+                # User asked for bar, so show them an error
                 if parsed_args.progress:
-                    logging.error(
-                        "Progress bar requested, but the 'progressbar' "
-                        "python module is missing."
+                    logging.warning(
+                        'Progress bar was requested but the "progressbar" module is unavailable.'
                     )
-                    logging.error("Continuing without progress bar.")
 
         if parsed_args.status_fd:
             self.register(StatusFD(os.fdopen(parsed_args.status_fd, 'w')))



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/c381c4ac073e5dfeb3776ac3c506eeebe2d89bf1

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/c381c4ac073e5dfeb3776ac3c506eeebe2d89bf1
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20190902/752ead95/attachment.html>


More information about the rb-commits mailing list