]> err.no Git - dak/commitdiff
dak/clean_suites.py: indicate no-option run in log messages
authorAnsgar Burchardt <ansgar@debian.org>
Wed, 15 Aug 2012 20:39:13 +0000 (22:39 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Wed, 15 Aug 2012 20:39:13 +0000 (22:39 +0200)
dak/clean_suites.py

index e571ae0e8c585aee24e2b3f9dc8ee2721d2705a6..e7808ec9c77cb0dbbb5f4eabd3fd918841de5e9e 100755 (executable)
@@ -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()