From: Ansgar Burchardt Date: Wed, 15 Aug 2012 20:39:13 +0000 (+0200) Subject: dak/clean_suites.py: indicate no-option run in log messages X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69af655cb14807d69683ae296b75cac13c54395d;p=dak dak/clean_suites.py: indicate no-option run in log messages --- 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()