Skip to content

Commit 40e08a1

Browse files
committed
Unnecessary due to operator precedence rule
1 parent 58b98eb commit 40e08a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shpc/main/registry/remote.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def __init__(self, source, tag=None, subdir=None):
119119

120120
@classmethod
121121
def matches(cls, source):
122-
return ("://" in source) or not os.path.exists(source)
122+
return "://" in source or not os.path.exists(source)
123123

124124
@property
125125
def library_url(self):

0 commit comments

Comments
 (0)