from daklib.regexes import re_default_answer, re_issource, re_fdnic
from daklib.urgencylog import UrgencyLog
from daklib.summarystats import SummaryStats
+from daklib.config import Config
###############################################################################
if not cnf.has_key("Dinstall::Options::%s" % (i)):
cnf["Dinstall::Options::%s" % (i)] = ""
- changes_files = apt_pkg.ParseCommandLine(cnf, Arguments, sys.argv)
+ changes_files = apt_pkg.ParseCommandLine(cnf.Cnf, Arguments, sys.argv)
Options = cnf.SubTree("Dinstall::Options")
if Options["Help"]:
if not Options["No-Action"]:
Logger.close()
- if log_urg:
+ if log_urgency:
UrgencyLog().close()
###############################################################################
from daklib.regexes import re_default_answer
from daklib.summarystats import SummaryStats
from daklib.holding import Holding
+from daklib.config import Config
from types import *
"override-distribution", "version", "directory"]:
cnf["Dinstall::Options::%s" % (i)] = ""
- changes_files = apt_pkg.ParseCommandLine(cnf, Arguments, sys.argv)
+ changes_files = apt_pkg.ParseCommandLine(cnf.Cnf, Arguments, sys.argv)
Options = cnf.SubTree("Dinstall::Options")
if Options["Help"]:
###############################################################################
+import os
+import time
+
from singleton import Singleton
from config import Config
from utils import warn, open_file, move