summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bb/ui/knotty.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py
index 521c262e4..82aa7c464 100644
--- a/lib/bb/ui/knotty.py
+++ b/lib/bb/ui/knotty.py
@@ -75,10 +75,8 @@ class BBProgress(progressbar.ProgressBar):
extrastr = str(extra)
if extrastr[0] != ' ':
extrastr = ' ' + extrastr
- if extrastr[-1] != ' ':
- extrastr += ' '
else:
- extrastr = ' '
+ extrastr = ''
self.widgets[self.extrapos] = extrastr
def _need_update(self):