]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/contents.py
Fixup the regex
[dak.git] / daklib / contents.py
index db500d38c5f95c66e6bde33446d8de01f4703ea9..6b3b81534d3862a296e58a00201abc431188654b 100755 (executable)
@@ -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):
         '''