]> git.decadent.org.uk Git - dak.git/commitdiff
location id, not an object dufus
authorMark Hymers <mhy@debian.org>
Sun, 15 Nov 2009 17:51:36 +0000 (17:51 +0000)
committerMark Hymers <mhy@debian.org>
Sun, 15 Nov 2009 17:51:36 +0000 (17:51 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/import_new_files.py

index de66ef2245a5e05fd303a9a9cdc25feed5186a90..cf4291b91a20f2f88308e32ca4e35d00a539595b 100755 (executable)
@@ -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: