From: Torsten Werner Date: Sun, 6 Mar 2011 22:31:46 +0000 (+0100) Subject: Merge branch 'dbtests' X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=e5a639958c38b2fbfb1a6063cc6ce5f102f3017f;hp=5b19eccc3fb694601f7fe36faebba5cc4017c14c;p=dak.git Merge branch 'dbtests' --- 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): '''