Skip to content
Open
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
5 changes: 2 additions & 3 deletions src/commoncode/cliutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,8 @@ class DebuggedProgressBar(CompatProgressBar):
# overriden and copied from Click to work around Click woes for
# https://github.com/aboutcode-org/scancode-toolkit/issues/2583
def make_step(self, n_steps):
# always increment
self.pos += n_steps or 1
super(DebuggedProgressBar, self).make_step(n_steps)
# always increment even if n_steps is 0
super(DebuggedProgressBar, self).make_step(n_steps or 1)

# overriden and copied from Click to work around Click woes for
# https://github.com/aboutcode-org/scancode-toolkit/issues/2583
Expand Down