X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fgenerate_index_diffs.py;h=3981f6d3d982b47a689508113c095cc4c559a94b;hb=4f9d6febec4d4a4519edc50cbd1d196c8376ac54;hp=51f1653d50ed7bc4f576a2dfea2c1fd5d1488ff8;hpb=7aaaad3135c9164390af5897925660842368660b;p=dak.git diff --git a/dak/generate_index_diffs.py b/dak/generate_index_diffs.py index 51f1653d..3981f6d3 100755 --- a/dak/generate_index_diffs.py +++ b/dak/generate_index_diffs.py @@ -32,7 +32,7 @@ import sys, os, tempfile import apt_pkg -import dak.lib.utils as utils +import daklib.utils ################################################################################ @@ -288,7 +288,7 @@ def main(): os.umask(0002) - Cnf = utils.get_conf() + Cnf = daklib.utils.get_conf() Arguments = [ ('h', "help", "Generate-Index-Diffs::Options::Help"), ('c', None, "Generate-Index-Diffs::Options::CanonicalPath", "hasArg"), ('p', "patchname", "Generate-Index-Diffs::Options::PatchName", "hasArg"), @@ -314,7 +314,7 @@ def main(): o.close() AptCnf = apt_pkg.newConfiguration() - apt_pkg.ReadConfigFileISC(AptCnf,utils.which_apt_conf_file()) + apt_pkg.ReadConfigFileISC(AptCnf,daklib.utils.which_apt_conf_file()) if Options.has_key("RootDir"): Cnf["Dir::Root"] = Options["RootDir"] @@ -353,7 +353,7 @@ def main(): elif AptCnf.has_key("bindirectory::%s" % (tree)): sections = AptCnf["bindirectory::%s::Sections" % (tree)].split() else: - aptcnf_filename = os.path.basename(utils.which_apt_conf_file()) + aptcnf_filename = os.path.basename(daklib.utils.which_apt_conf_file()) print "ALERT: suite %s not in %s, nor untouchable!" % (suite, aptcnf_filename) continue