]> git.decadent.org.uk Git - dak.git/commitdiff
daklib/archive.py: restore architecture field in .debinfo files
authorAnsgar Burchardt <ansgar@debian.org>
Tue, 18 Sep 2012 06:24:33 +0000 (08:24 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Tue, 18 Sep 2012 06:24:42 +0000 (08:24 +0200)
The field was omitted in the new implementation introduced in 49c85ab8.

Reported-by: Don Armstrong <don@debian.org>
daklib/archive.py

index 577601c4b354a326d93f320f44f88a3b016ece47..677d783cdd04530e9752b2656d422f4de5e6adda 100644 (file)
@@ -1105,7 +1105,7 @@ class ArchiveUpload(object):
         for binary in self.changes.binaries:
             control = binary.control
             source_package, source_version = binary.source
-            line = " ".join([control['Package'], control['Version'], source_package, source_version])
+            line = " ".join([control['Package'], control['Version'], control['Architecture'], source_package, source_version])
             print >>debinfo, line
         debinfo.close()