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:
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