From: Mark Hymers Date: Sat, 28 Nov 2009 23:22:01 +0000 (+0000) Subject: fix variable references X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=7e8458625f0027b7299fd7afdcdaa2bb9f34bf24;p=dak.git fix variable references Signed-off-by: Mark Hymers --- diff --git a/daklib/queue.py b/daklib/queue.py index 0433a964..d5057a6a 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -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))