From 40e08a121cd326f5fecd8ad953433fa5c2ab400d Mon Sep 17 00:00:00 2001 From: Matthieu Muffato Date: Wed, 7 Sep 2022 13:29:34 +0100 Subject: [PATCH] Unnecessary due to operator precedence rule --- shpc/main/registry/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shpc/main/registry/remote.py b/shpc/main/registry/remote.py index df94ee803..28952447c 100644 --- a/shpc/main/registry/remote.py +++ b/shpc/main/registry/remote.py @@ -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):