TermProgressBar: fix broken ref to "image" var
authorZac Medico <zmedico@gentoo.org>
Sun, 22 Jul 2012 22:05:53 +0000 (15:05 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 22 Jul 2012 22:05:53 +0000 (15:05 -0700)
Broken since commit 0623e44a500125064525413404948af9179747a9.

pym/portage/output.py

index c6a7031d0e06e765352ac61acdcf283c454b3075..07e25af7a2fe97d602d167ad1f319d08e132007a 100644 (file)
@@ -744,7 +744,7 @@ class TermProgressBar(ProgressBar):
                        max_bar_width = bar_space-3
                        _percent = "".ljust(percentage_str_width)
                        if cols < min_columns:
-                               return image
+                               return ""
                        if position <= 0.5:
                                offset = 2 * position
                        else: