X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fcopy_installer.py;h=c70b048dfe22bc9d8c24a76a747a9230df5f556e;hb=6f863f95e3d1bae18aa5579e958fd8a121b06545;hp=34ae3215ef4a9834078f2f99aee697757a89b6b4;hpb=50db22ea5f288daa39f81138a41a509d9a41cc3e;p=dak.git diff --git a/dak/copy_installer.py b/dak/copy_installer.py index 34ae3215..c70b048d 100755 --- a/dak/copy_installer.py +++ b/dak/copy_installer.py @@ -44,8 +44,8 @@ def main(): for option in [ "help", "source", "destination", "no-action" ]: if not cnf.has_key("Copy-Installer::Options::%s" % (option)): cnf["Copy-Installer::Options::%s" % (option)] = "" - extra_arguments = apt_pkg.ParseCommandLine(cnf.Cnf, Arguments, sys.argv) - Options = cnf.SubTree("Copy-Installer::Options") + extra_arguments = apt_pkg.parse_commandline(cnf.Cnf, Arguments, sys.argv) + Options = cnf.subtree("Copy-Installer::Options") if Options["Help"]: usage()