From a6517deccf031b7255f1e2afb1d2539a78a1155a Mon Sep 17 00:00:00 2001 From: Hannah Cushman Garland Date: Wed, 11 Sep 2024 14:25:26 -0500 Subject: [PATCH] Pass window to report function --- pupa/cli/commands/clean.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pupa/cli/commands/clean.py b/pupa/cli/commands/clean.py index 53429de..c105077 100644 --- a/pupa/cli/commands/clean.py +++ b/pupa/cli/commands/clean.py @@ -93,7 +93,7 @@ def handle(self, args, other): "These objects have not been seen in a scrape within the last" f" {args.window} days:" ) - self.report_stale_objects() + self.report_stale_objects(args.window) else: stale_objects = list(self.get_stale_objects(args.window)) num_stale_objects = len(stale_objects)