From: Ansgar Burchardt Date: Sat, 11 Aug 2012 17:42:32 +0000 (+0200) Subject: daklib/archive.py: try to get all source files from pool, even when listed in changes X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=98874cfad12bc5f2ff6294271f7265624494d683;p=dak.git daklib/archive.py: try to get all source files from pool, even when listed in changes --- 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()