From: Torsten Werner Date: Sat, 26 Mar 2011 13:41:41 +0000 (+0000) Subject: bugfix X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=8d74e3e64c25a954feeb9351a18bf9e0130c891d;p=dak.git bugfix Signed-off-by: Torsten Werner --- diff --git a/dak/generate_index_diffs.py b/dak/generate_index_diffs.py index 3a69f3a5..5cac5ccd 100755 --- a/dak/generate_index_diffs.py +++ b/dak/generate_index_diffs.py @@ -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)) diff --git a/daklib/contents.py b/daklib/contents.py index f5f27488..bebab6dd 100755 --- a/daklib/contents.py +++ b/daklib/contents.py @@ -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, }