From: Michael Tremer Date: Wed, 7 Dec 2016 20:08:28 +0000 (+0100) Subject: http: Use error widget to show any download errors X-Git-Tag: 0.9.28~1285^2~1394 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ce57af37769a29e23bae05b155af790f774b8eff;p=pakfire.git http: Use error widget to show any download errors Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/http.py b/src/pakfire/http.py index afcf1c9f3..7ed97c417 100644 --- a/src/pakfire/http.py +++ b/src/pakfire/http.py @@ -373,6 +373,9 @@ class Client(object): if message: p.add(message) + w = progressbar.WidgetError() + p.add(w) + # Show percentage w = progressbar.WidgetPercentage(clear_when_finished=True) p.add(w)