X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fmake_overrides.py;h=176e563f6358ff45a7b4f0923903831e3165b45a;hb=30e245853fe1e59a3ef9cc85385e5487f94c3a18;hp=77e7bb8c885049a562ca57374248b1845863c11b;hpb=7f20bb168b919452f8ee0c865ab91f0084a9f46a;p=dak.git diff --git a/dak/make_overrides.py b/dak/make_overrides.py index 77e7bb8c..176e563f 100755 --- a/dak/make_overrides.py +++ b/dak/make_overrides.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Output override files for apt-ftparchive and indices/ +""" Output override files for apt-ftparchive and indices/ """ # Copyright (C) 2000, 2001, 2002, 2004, 2006 James Troup # This program is free software; you can redistribute it and/or modify @@ -27,8 +27,8 @@ import pg, sys import apt_pkg -import daklib.database as database -import daklib.utils as utils +from daklib import database +from daklib import utils ################################################################################ @@ -105,13 +105,13 @@ def main (): override_suite = Cnf["Suite::%s::OverrideCodeName" % (suite)] for component in Cnf.SubTree("Component").List(): if component == "mixed": - continue; # Ick + continue # Ick for otype in Cnf.ValueList("OverrideType"): if otype == "deb": suffix = "" elif otype == "udeb": if component == "contrib": - continue; # Ick2 + continue # Ick2 suffix = ".debian-installer" elif otype == "dsc": suffix = ".src"