X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fimport_new_files.py;h=f33c30fb0bf20bf4a91d877d05b1312298fb2703;hb=76f197bc13c6c094f9687f87b1c475330f3771fa;hp=de66ef2245a5e05fd303a9a9cdc25feed5186a90;hpb=21025095614c4349dd434f611347033d7c6455e9;p=dak.git diff --git a/dak/import_new_files.py b/dak/import_new_files.py index de66ef22..f33c30fb 100755 --- a/dak/import_new_files.py +++ b/dak/import_new_files.py @@ -122,7 +122,7 @@ class ImportNewFiles(object): found, poolfile = check_poolfile(os.path.join(poolname, chg_fn), u.pkg.files[chg_fn]['size'], u.pkg.files[chg_fn]["md5sum"], - l, + l.location_id, session=session) if found is None: @@ -136,7 +136,7 @@ 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