#!/usr/bin/env python
-# Manipulate suite tags
+""" Manipulate suite tags """
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 James Troup <james@nocrew.org>
# This program is free software; you can redistribute it and/or modify
import pg, sys
import apt_pkg
from daklib import database
-from daklib import logging
+from daklib import daklog
from daklib import utils
#######################################################################################
# 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)