]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pakfire/patches/0014-Better-formatting-for-progress-bars.patch
2527844f659060b629243b80404873dbe4a3d8dc
[people/ms/ipfire-3.x.git] / pakfire / patches / 0014-Better-formatting-for-progress-bars.patch
1 From 493336ff5c795b6d33d78659a69cc16165e7d0d8 Mon Sep 17 00:00:00 2001
2 From: Michael Tremer <michael.tremer@ipfire.org>
3 Date: Thu, 13 Jun 2013 19:18:23 +0200
4 Subject: [PATCH 14/19] Better formatting for progress bars.
5
6 ---
7 python/pakfire/util.py | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/python/pakfire/util.py b/python/pakfire/util.py
11 index 8d91709..73c62d0 100644
12 --- a/python/pakfire/util.py
13 +++ b/python/pakfire/util.py
14 @@ -86,7 +86,7 @@ def make_progress(message, maxval, eta=True, speed=False):
15
16 widgets = [
17 " ",
18 - "%s" % message,
19 + "%-64s" % message,
20 " ",
21 progressbar.Bar(left="[", right="]"),
22 " ",
23 --
24 1.8.1.4
25