import pg, sys
import apt_pkg
from daklib import database
-from daklib import logging
+from daklib import daklog
from daklib import utils
#######################################################################################
utils.fubar("No action specified.")
# Safety/Sanity check
- if action == "set" and suite not in ["testing", "etch-m68k", "lenny-r0"]:
+ if action == "set" and suite not in ["testing", "etch-m68k"]:
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)