Skip to content

Fix double-increment of progress bar position in DebuggedProgressBar.make_step#100

Open
xsuchy wants to merge 1 commit intoaboutcode-org:mainfrom
xsuchy:double-increment
Open

Fix double-increment of progress bar position in DebuggedProgressBar.make_step#100
xsuchy wants to merge 1 commit intoaboutcode-org:mainfrom
xsuchy:double-increment

Conversation

@xsuchy
Copy link
Copy Markdown
Contributor

@xsuchy xsuchy commented Apr 21, 2026

make_step was incrementing self.pos manually and then calling super().make_step() which incremented it again, causing the progress bar to advance twice as fast as expected.

Related to: aboutcode-org/scancode-toolkit#4100

Assisted-By: Claude Opus 4.6 noreply@anthropic.com

…make_step

make_step was incrementing self.pos manually and then calling
super().make_step() which incremented it again, causing the progress
bar to advance twice as fast as expected.

Related to: aboutcode-org/scancode-toolkit#4100
Signed-off-by: Miroslav Suchý <msuchy@redhat.com>
Assisted-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant