X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=d5057a6aa775255d55a764eee3ad18af990de782;hb=7e8458625f0027b7299fd7afdcdaa2bb9f34bf24;hp=0433a9648883163f81fe5f0d4be448ed8456bf6f;hpb=79aed1d0e844f075a60b115637605064d6d9ac63;p=dak.git 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))