-
-
Notifications
You must be signed in to change notification settings - Fork 329
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: Fixed bare exceptions in mapdisp/ #4979
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are unrelated changes in the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated changes
from ctypes import CFUNCTYPE, byref, c_double, c_int, pointer | ||
from grass.lib.ctypes_preamble import UNCHECKED, String | ||
|
||
import wx | ||
from core.debug import Debug | ||
from core.gcmd import DecodeString | ||
from core.settings import UserSettings | ||
|
||
try: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[black] reported by reviewdog 🐶
try: | |
try: |
Added
ValueError
for string/split operations andIndexError
for indexing