[dak/master] Add missing 'dists' directory to method output_filename().
Signed-off-by: Torsten Werner <twerner@debian.org>
---
daklib/contents.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/daklib/contents.py b/daklib/contents.py
index db500d3..6b3b815 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):
'''
--
1.7.2.3
Reply to: