From 2eb32234968704fc9adf033db3c36773ac93de12 Mon Sep 17 00:00:00 2001 From: Antoine Lambert <anlambert@softwareheritage.org> Date: Thu, 22 Jun 2023 14:41:07 +0200 Subject: [PATCH] cli: Print lister stats at the end of the run command Display the number of processed pages and listed origins after the listing process ended. --- swh/lister/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swh/lister/cli.py b/swh/lister/cli.py index db24789d..4c4d0b4f 100644 --- a/swh/lister/cli.py +++ b/swh/lister/cli.py @@ -77,7 +77,7 @@ def run(ctx, lister, options): config["scheduler"] = {"cls": "temporary"} - get_lister(lister, **config).run() + print(get_lister(lister, **config).run()) if __name__ == "__main__": -- GitLab