X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Farchive.py;h=26acaf60effd258a7f810f8ed12356fd7e71ea1f;hb=e53c31af21851ed263e8252da6ffedcf3886bea6;hp=7243f31a884f36684044a767f19369a06b263a2e;hpb=1934d926546cb051b6be97a7d1de53b1473ec962;p=dak.git diff --git a/daklib/archive.py b/daklib/archive.py index 7243f31a..26acaf60 100644 --- a/daklib/archive.py +++ b/daklib/archive.py @@ -335,6 +335,8 @@ class ArchiveTransaction(object): db_source.suites.append(suite) if not created: + for f in db_source.srcfiles: + self._copy_file(f.poolfile, archive, component, allow_tainted=allow_tainted) return db_source ### Now add remaining files and copy them to the archive. @@ -752,7 +754,7 @@ class ArchiveUpload(object): if self.changes.source is not None: override = self._source_override(suite, self.changes.source) if override is None: - self.warnings.append('source:{0} is NEW.'.format(self.changes.source.control['Source'])) + self.warnings.append('source:{0} is NEW.'.format(self.changes.source.dsc['Source'])) new = True # Check if we reference a file only in a tainted archive