Skip to content

Commit

Permalink
Print info: number of missing catalogs
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Jensen committed Sep 17, 2024
1 parent a596245 commit 2282869
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run_catalogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ def main():
logger.setLevel(logging_level)

# Get missing
for target in api.get_catalog_missing():
targets = api.get_catalog_missing()
logger.info("%d catalogs missing", len(targets))
for target in targets:
logger.info("Downloading catalog for target=%s...", target)
download_catalog(target, update_existing=args.commit) # @TODO: refactor to Tendrils

Expand Down

0 comments on commit 2282869

Please sign in to comment.