1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00

Merge pull request #1433 from dmach/NoPBTextMeter-no-output

Change NoPBTextMeter to display no output at all
This commit is contained in:
Daniel Mach 2023-10-13 21:07:00 +02:00 committed by GitHub
commit 0c2cafe513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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