From: Torsten Werner Date: Sun, 6 Mar 2011 21:25:42 +0000 (+0100) Subject: Add missing 'dists' directory to method output_filename(). X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=f91911eecbc5753185491494ff8797ee65745890;p=dak.git Add missing 'dists' directory to method output_filename(). Signed-off-by: Torsten Werner --- diff --git a/daklib/contents.py b/daklib/contents.py index db500d38..6b3b8153 100755 --- a/daklib/contents.py +++ b/daklib/contents.py @@ -166,9 +166,9 @@ select bc.file, substring(o.section from position('/' in o.section) + 1) || '/' 'architecture': self.architecture.arch_string } if self.component is None: - return "%(root)s%(suite)s/Contents-%(architecture)s.gz" % values + return "%(root)s/dists/%(suite)s/Contents-%(architecture)s.gz" % values values['component'] = self.component.component_name - return "%(root)s%(suite)s/%(component)s/Contents-%(architecture)s.gz" % values + return "%(root)s/dists/%(suite)s/%(component)s/Contents-%(architecture)s.gz" % values def get_header(self): '''