]> git.decadent.org.uk Git - dak.git/commitdiff
fix variable references
authorMark Hymers <mhy@debian.org>
Sat, 28 Nov 2009 23:22:01 +0000 (23:22 +0000)
committerMark Hymers <mhy@debian.org>
Sat, 28 Nov 2009 23:22:01 +0000 (23:22 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/queue.py

index 0433a9648883163f81fe5f0d4be448ed8456bf6f..d5057a6aa775255d55a764eee3ad18af990de782 100755 (executable)
@@ -1859,7 +1859,7 @@ distribution."""
                 new_filename = os.path.join(utils.poolify(self.pkg.changes["source"], dsc_component), os.path.basename(old_filename))
 
                 # TODO: Care about size/md5sum collisions etc
-                (found, newf) = check_poolfile(new_filename, file_size, file_md5sum, dsc_location_id, session)
+                (found, newf) = check_poolfile(new_filename, old_dat['size'], old_dat['md5sum'], dsc_location_id, session)
 
                 if newf is None:
                     utils.copy(old_filename, os.path.join(cnf["Dir::Pool"], new_filename))