Skip to content

Commit

Permalink
Resolve some linter errors and warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bluesabre committed Oct 3, 2017
1 parent 0bab473 commit edd73f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ def run(self):
update_desktop_file(desktop_file, script_path)
remove_appdata_in(self.root, target_data)


DistUtilsExtra.auto.setup(
name='sgt-launcher',
version='0.2.3',
Expand Down
4 changes: 1 addition & 3 deletions sgtlauncher_lib/sgtlauncherconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@

import os # nopep8

from locale import gettext as _ # nopep8


class project_path_not_found(Exception):
"""Raised when we can't find the project directory."""
Expand Down Expand Up @@ -58,7 +56,7 @@ def get_data_path():
else:
abs_data_path = os.path.abspath(__sgtlauncher_data_directory__)
if not os.path.exists(abs_data_path):
print (abs_data_path)
print(abs_data_path)
raise project_path_not_found

return abs_data_path
Expand Down

0 comments on commit edd73f0

Please sign in to comment.