Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change NoPBTextMeter to display no output at all #1433

Merged
merged 1 commit into from
Oct 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions osc/meter.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,8 @@


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

Check warning on line 45 in osc/meter.py

View check run for this annotation

Codecov / codecov/patch

osc/meter.py#L45

Added line #L45 was not covered by tests

def update(self, *args, **kwargs):
pass
Expand Down
Loading