mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-07 05:38:43 +02:00
Change NoPBTextMeter to display no output at all
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user