]> git.decadent.org.uk Git - dak.git/blobdiff - dak/control_suite.py
bug fixes
[dak.git] / dak / control_suite.py
index 95b24bc60f4de00d8fa33a810490abf7f284c6d1..8dc570222842c5162e98fbdd7ec31d9900f8dce8 100755 (executable)
@@ -44,7 +44,7 @@
 import pg, sys
 import apt_pkg
 from daklib import database
-from daklib import logging
+from daklib import daklog
 from daklib import utils
 
 #######################################################################################
@@ -276,12 +276,12 @@ def main ():
 
     # Safety/Sanity check
     if action == "set" and suite not in ["testing", "etch-m68k"]:
-        utils.fubar("Will not reset a suite other than testing.")
+        utils.fubar("Will not reset suite %s" % (suite))
 
     if action == "list":
         get_list(suite)
     else:
-        Logger = logging.Logger(Cnf, "control-suite")
+        Logger = daklog.Logger(Cnf, "control-suite")
         if file_list:
             for f in file_list:
                 process_file(utils.open_file(f), suite, action)