From 98874cfad12bc5f2ff6294271f7265624494d683 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sat, 11 Aug 2012 19:42:32 +0200 Subject: [PATCH] daklib/archive.py: try to get all source files from pool, even when listed in changes --- daklib/archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/archive.py b/daklib/archive.py index 3eb654a2..2aaf86fd 100644 --- a/daklib/archive.py +++ b/daklib/archive.py @@ -634,7 +634,7 @@ class ArchiveUpload(object): for f in source.files.itervalues(): src = os.path.join(self.original_directory, f.filename) dst = os.path.join(self.directory, f.filename) - if f.filename not in self.changes.files: + if not os.path.exists(dst): try: db_file = self.transaction.get_file(f, source.dsc['Source']) db_archive_file = session.query(ArchiveFile).filter_by(file=db_file).first() -- 2.39.5