From 10cf2783e2316bb77277c188964294806d246532 Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Tue, 1 Aug 2023 15:57:08 -0700 Subject: [PATCH] finally condensation --- src/pds/registrysweepers/repairkit/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pds/registrysweepers/repairkit/__init__.py b/src/pds/registrysweepers/repairkit/__init__.py index 5ab0ce2..dd62361 100644 --- a/src/pds/registrysweepers/repairkit/__init__.py +++ b/src/pds/registrysweepers/repairkit/__init__.py @@ -54,8 +54,7 @@ def run(base_url: str, configure_logging(filepath=log_filepath, log_level=log_level) log.info("starting CLI processing") host = Host(password, base_url, username, verify_host_certs) - query = {"match_all": {}} - for document in query_registry_db(host, query, {}): + for document in query_registry_db(host, {"match_all": {}}, {}): id = document['_id'] src = document['_source'] repairs = {}