]> err.no Git - dak/commitdiff
daklib/archive.py: use right name for .dsc dict
authorAnsgar Burchardt <ansgar@debian.org>
Mon, 5 Nov 2012 08:07:07 +0000 (09:07 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Mon, 5 Nov 2012 08:07:07 +0000 (09:07 +0100)
daklib/archive.py

index 2c25e1007dfccaa320e8812a70cecc4e805cfe2b..26acaf60effd258a7f810f8ed12356fd7e71ea1f 100644 (file)
@@ -754,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