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

Remove unused variables when initializing localization #120

Merged
merged 1 commit into from
Jun 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spyder_unittest/backend/noserunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

try:
_ = get_translation("unittest", dirname="spyder_unittest")
except KeyError as error:
except KeyError:
import gettext
_ = gettext.gettext

Expand Down
2 changes: 1 addition & 1 deletion spyder_unittest/widgets/configdialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

try:
_ = get_translation("unittest", dirname="spyder_unittest")
except KeyError as error:
except KeyError:
import gettext
_ = gettext.gettext

Expand Down
2 changes: 1 addition & 1 deletion spyder_unittest/widgets/datatree.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

try:
_ = get_translation("unittest", dirname="spyder_unittest")
except KeyError as error:
except KeyError:
import gettext
_ = gettext.gettext

Expand Down
2 changes: 1 addition & 1 deletion spyder_unittest/widgets/unittestgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# This is needed for testing this module as a stand alone script
try:
_ = get_translation("unittest", dirname="spyder_unittest")
except KeyError as error:
except KeyError:
import gettext
_ = gettext.gettext

Expand Down