Skip to content

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

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

xsuchy wants to merge 1 commit into
aboutcode-org:mainfrom
xsuchy:double-increment

Conversation

@xsuchy

@xsuchy xsuchy commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

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>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant