]> git.decadent.org.uk Git - dak.git/commitdiff
bugfix
authorTorsten Werner <twerner@debian.org>
Sat, 26 Mar 2011 13:41:41 +0000 (13:41 +0000)
committerTorsten Werner <twerner@debian.org>
Sat, 26 Mar 2011 14:15:14 +0000 (14:15 +0000)
Signed-off-by: Torsten Werner <twerner@debian.org>
dak/generate_index_diffs.py
daklib/contents.py

index 3a69f3a57e7b1b4c2a9f1e82b36455de1f6f763f..5cac5ccd11b87efd0f5cffb0d40703d7552d1103 100755 (executable)
@@ -367,7 +367,7 @@ def main():
                     maxsuite = maxpackages
                     # Process Contents
                     file = "%s/%s/Contents-%s" % (Cnf["Dir::Root"] + tree, component,
-                            longarch)
+                            architecture)
                     storename = "%s/%s_%s_contents_%s" % (Options["TempDir"], suite, component, architecture)
                     genchanges(Options, file + ".diff", storename, file, \
                       Cnf.get("Suite::%s::Generate-Index-Diffs::MaxDiffs::Contents" % (suite), maxcontents))
index f5f27488c02149f8493859dd790d42c427670912..bebab6dd1c9c2a252a62592cda1c97e84738a0e2 100755 (executable)
@@ -122,6 +122,7 @@ select bc.file, string_agg(o.section || '/' || b.package, ',' order by b.package
         '''
         values = {
             'suite':        self.suite.suite_name,
+            'component':    self.component.component_name,
             'debtype':      self.overridetype.overridetype,
             'architecture': self.architecture.arch_string,
         }