mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-24 03:02:12 +01:00
Change NoPBTextMeter to display no output at all
This commit is contained in:
parent
2aa7c17331
commit
0d239cc265
@ -41,13 +41,8 @@ class PBTextMeter:
|
||||
|
||||
|
||||
class NoPBTextMeter:
|
||||
_complained = False
|
||||
|
||||
def start(self, basename, size=None):
|
||||
if not self._complained:
|
||||
print('Please install the progressbar module')
|
||||
NoPBTextMeter._complained = True
|
||||
print('Processing: %s' % basename)
|
||||
pass
|
||||
|
||||
def update(self, *args, **kwargs):
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user