X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fcontrol_suite.py;h=8dc570222842c5162e98fbdd7ec31d9900f8dce8;hb=d2b763089f47e2f460b80971a3771dba808b4d60;hp=95b24bc60f4de00d8fa33a810490abf7f284c6d1;hpb=74c5a1256401a709d74c496b972cc0bd38decaa8;p=dak.git diff --git a/dak/control_suite.py b/dak/control_suite.py index 95b24bc6..8dc57022 100755 --- a/dak/control_suite.py +++ b/dak/control_suite.py @@ -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)