Skip to content

fix: 3 bare excepts should catch ValueError instead of BaseException - #813

Open
saurabhhhcodes wants to merge 1 commit into
Aditya948351:masterfrom
saurabhhhcodes:fix-devpath-batch-1
Open

fix: 3 bare excepts should catch ValueError instead of BaseException#813
saurabhhhcodes wants to merge 1 commit into
Aditya948351:masterfrom
saurabhhhcodes:fix-devpath-batch-1

Conversation

@saurabhhhcodes

Copy link
Copy Markdown
Contributor

Real bugs: 3 bare 'except:' in extract_rankings.py and extract_rankings_v2.py catch BaseException (KeyboardInterrupt, SystemExit). Changed to except ValueError since only int()/float() conversion is expected.

@saurabhhhcodes

Copy link
Copy Markdown
Contributor Author

🔔 Friendly ping @Aditya948351 — this real fix has passing CI and references an approved GSSoC issue. Ready for review/merge. Thanks!

1 similar comment
@saurabhhhcodes

Copy link
Copy Markdown
Contributor Author

🔔 Friendly ping @Aditya948351 — this real fix has passing CI and references an approved GSSoC issue. Ready for review/merge. Thanks!

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