diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-09-13 19:33:31 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-10-04 13:02:08 -0700 |
commit | 96033132be8976f0c9483a18dfe4a58bf94b0011 (patch) | |
tree | 96ca8930b4943001334ba42b0b7349c9ea48d5bd /python/scripts | |
parent | 5495d2ba4c92cf3ea3f1c31efe9ca670f6900047 (diff) | |
download | sandcrawler-96033132be8976f0c9483a18dfe4a58bf94b0011.tar.gz sandcrawler-96033132be8976f0c9483a18dfe4a58bf94b0011.zip |
cdx_collection.py: minor lint issue
Diffstat (limited to 'python/scripts')
-rwxr-xr-x | python/scripts/cdx_collection.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |