From 69af655cb14807d69683ae296b75cac13c54395d Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Wed, 15 Aug 2012 22:39:13 +0200 Subject: [PATCH] dak/clean_suites.py: indicate no-option run in log messages --- dak/clean_suites.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dak/clean_suites.py b/dak/clean_suites.py index e571ae0e..e7808ec9 100755 --- a/dak/clean_suites.py +++ b/dak/clean_suites.py @@ -470,7 +470,10 @@ def main(): if Options["Help"]: usage() - Logger = daklog.Logger("clean-suites", debug=Options["No-Action"]) + program = "clean-suites" + if Options['No-Action']: + program = "clean-suites (no action)" + Logger = daklog.Logger(program, debug=Options["No-Action"]) session = DBConn().session() -- 2.39.5