From: Mark Hymers Date: Fri, 25 Mar 2011 19:38:24 +0000 (+0000) Subject: Walk the right path when suite_suffix is in use X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=3e6dac1c4bc1ed5b0538a6c9c29d431bbbd86689;p=dak.git Walk the right path when suite_suffix is in use Signed-off-by: Mark Hymers --- diff --git a/dak/generate_releases.py b/dak/generate_releases.py index a3ed5a4f..b21f30a5 100755 --- a/dak/generate_releases.py +++ b/dak/generate_releases.py @@ -182,7 +182,7 @@ class ReleaseWriter(object): out.write("Description: %s\n" % suite.description) for comp in components: - for dirpath, dirnames, filenames in os.walk("%sdists/%s/%s" % (cnf["Dir::Root"], suite.suite_name, comp), topdown=True): + for dirpath, dirnames, filenames in os.walk("%sdists/%s/%s%s" % (cnf["Dir::Root"], suite.suite_name, suite_suffix, comp), topdown=True): if not re_gensubrelease.match(dirpath): continue