]> err.no Git - dak/commitdiff
Add missing 'dists' directory to method output_filename().
authorTorsten Werner <twerner@debian.org>
Sun, 6 Mar 2011 21:25:42 +0000 (22:25 +0100)
committerTorsten Werner <twerner@debian.org>
Sun, 6 Mar 2011 21:25:42 +0000 (22:25 +0100)
Signed-off-by: Torsten Werner <twerner@debian.org>
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):
         '''