Skip to content

Commit

Permalink
Unnecessary due to operator precedence rule
Browse files Browse the repository at this point in the history
  • Loading branch information
muffato committed Sep 7, 2022
1 parent 58b98eb commit 40e08a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shpc/main/registry/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def __init__(self, source, tag=None, subdir=None):

@classmethod
def matches(cls, source):
return ("://" in source) or not os.path.exists(source)
return "://" in source or not os.path.exists(source)

@property
def library_url(self):
Expand Down

0 comments on commit 40e08a1

Please sign in to comment.