1
0
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:
Daniel Mach 2023-10-13 20:36:55 +02:00
parent 2aa7c17331
commit 0d239cc265

View File

@ -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