Skip to content

Commit

Permalink
wxGUI: Removed unused variable in mapdisp/statusbar.py (#4774)
Browse files Browse the repository at this point in the history
  • Loading branch information
arohanajit authored Nov 28, 2024
1 parent 796d14d commit 231bb51
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ per-file-ignores =
gui/wxpython/location_wizard/wizard.py: E722
gui/wxpython/mapdisp/main.py: E722
gui/wxpython/mapdisp/test_mapdisp.py: E501
gui/wxpython/mapdisp/statusbar.py: F841
gui/wxpython/mapswipe/g.gui.mapswipe.py: E501
gui/wxpython/mapwin/base.py: E722
gui/wxpython/mapwin/buffered.py: E722
Expand Down
2 changes: 1 addition & 1 deletion gui/wxpython/mapdisp/statusbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ def Show(self):
self.SetValue(e.message)
# TODO: remove these excepts, they just hide errors, solve problems
# differently
except TypeError as e:
except TypeError:
self.SetValue("")
except AttributeError:
# during initialization MapFrame has no MapWindow
Expand Down

0 comments on commit 231bb51

Please sign in to comment.