X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fimport_new_files.py;h=7a29467a18be52a488ee2f2b00f272a83e2c0364;hb=a18e312ddb923f4b6c5134201d72cc626b8e6392;hp=f33c30fb0bf20bf4a91d877d05b1312298fb2703;hpb=2eab0bd6bdd98ef816f78b74f85ca9fe5792804c;p=dak.git diff --git a/dak/import_new_files.py b/dak/import_new_files.py index f33c30fb..7a29467a 100755 --- a/dak/import_new_files.py +++ b/dak/import_new_files.py @@ -143,7 +143,7 @@ class ImportNewFiles(object): session.commit() - + except KeyboardInterrupt: print("Caught C-c; terminating.") utils.warn("Caught C-c; terminating.") @@ -158,7 +158,7 @@ def main(): ('v',"verbose", "%s::%s" % (options_prefix,"Verbose")), ] - args = apt_pkg.ParseCommandLine(cnf.Cnf, arguments,sys.argv) + args = apt_pkg.parse_commandline(cnf.Cnf, arguments,sys.argv) num_threads = 1