X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=inline;f=dak%2Fimport_new_files.py;h=7a29467a18be52a488ee2f2b00f272a83e2c0364;hb=af5baf3a964a6a2437af8e52c79b844943cf6f1b;hp=cf4291b91a20f2f88308e32ca4e35d00a539595b;hpb=2a64509aea04c4d1ec7533a0ae612ef0104f5042;p=dak.git diff --git a/dak/import_new_files.py b/dak/import_new_files.py index cf4291b9..7a29467a 100755 --- a/dak/import_new_files.py +++ b/dak/import_new_files.py @@ -136,14 +136,14 @@ class ImportNewFiles(object): log.critical("ERROR: Could not find %s in pool" % chg_fn) sys.exit(1) else: - chg.changeslinks.append(poolfile) + chg.poolfiles.append(poolfile) chg.files = files 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