X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fcontents.py;h=6b3b81534d3862a296e58a00201abc431188654b;hb=f91911eecbc5753185491494ff8797ee65745890;hp=db500d38c5f95c66e6bde33446d8de01f4703ea9;hpb=c8fbd3b2452573a2a0d9c624bf9a81539b8ffc74;p=dak.git 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): '''