Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoWilken committed Apr 1, 2022
1 parent a9eb661 commit 5f30c45
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions alibuild_helpers/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# Keep the linter happy
if sys.version_info[0] >= 3:
basestring = str
unicode = None


def is_string(s):
Expand Down
4 changes: 0 additions & 4 deletions alibuild_helpers/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ class SpecError(Exception):

asList = lambda x : x if type(x) == list else [x]

# Keep the linter happy
if sys.version_info[0] >= 3:
unicode = None

def star():
return re.sub("build.*$", "", basename(sys.argv[0]).lower())

Expand Down

0 comments on commit 5f30c45

Please sign in to comment.