From 96033132be8976f0c9483a18dfe4a58bf94b0011 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 13 Sep 2021 19:33:31 -0700 Subject: cdx_collection.py: minor lint issue --- python/scripts/cdx_collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/scripts/cdx_collection.py b/python/scripts/cdx_collection.py index 4539a49..e867b21 100755 --- a/python/scripts/cdx_collection.py +++ b/python/scripts/cdx_collection.py @@ -37,7 +37,7 @@ def run(): ia.search_items( query="collection:{} mediatype:web".format(collection))) - if len(item_list) is 0: + if len(item_list) == 0: print("No items found, bailing") sys.exit(-1) -- cgit v1.2.3