mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
style: parenthesize chained boolean operators
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -170,7 +170,7 @@ async def discover_images(image_type: str, skip_image_paths: list | None = None)
|
||||
if filename.endswith(".tmp") or filename.endswith(".md5sum") or filename.startswith("."):
|
||||
continue
|
||||
path = os.path.join(root, filename)
|
||||
if not os.path.isfile(path) or skip_image_paths and path in skip_image_paths or path in files:
|
||||
if not os.path.isfile(path) or (skip_image_paths and path in skip_image_paths) or path in files:
|
||||
continue
|
||||
if "/lib/" in path or "/lib64/" in path:
|
||||
# ignore custom IOU libraries
|
||||
|
||||
Reference in new issue
Block a user