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

wxGUI: Fix flake8 e722 bare except warnings #4929

Merged
merged 3 commits into from
Jan 15, 2025

Conversation

arohanajit
Copy link
Contributor

dialogs.py: Replace bare except with specific exceptions (KeyError, ValueError, TypeError) in OnEndEdit method
preferences.py: Replace bare except with specific exceptions (ValueError, KeyError, AttributeError) in snapping unit selection

@github-actions github-actions bot added GUI wxGUI related Python Related code is in Python labels Jan 9, 2025
@echoix
Copy link
Member

echoix commented Jan 9, 2025

Updated since a lot of jobs were failed, but it's maybe because of the small outage yesterday (and wasn't able to easily go to the workflow summary to restart all subjobs)

@arohanajit
Copy link
Contributor Author

Also addressed in #3748

@petrasovaa petrasovaa added this to the 8.5.0 milestone Jan 14, 2025
@petrasovaa petrasovaa merged commit 0b4db05 into OSGeo:main Jan 15, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI wxGUI related Python Related code is in Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants