From: Mark Hymers Date: Thu, 24 Mar 2011 18:28:44 +0000 (+0000) Subject: And don't strip the leading / anymore X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2310c93d6bd48e7b9b55b4d3a6e971c8297a044;p=dak And don't strip the leading / anymore Signed-off-by: Mark Hymers --- diff --git a/dak/generate_releases.py b/dak/generate_releases.py index 258677ee..37b4290e 100755 --- a/dak/generate_releases.py +++ b/dak/generate_releases.py @@ -149,7 +149,7 @@ class ReleaseWriter(object): cnf = Config() - outfile = os.path.join(cnf["Dir::Root"][1:], 'dists', suite.suite_name, "Release") + outfile = os.path.join(cnf["Dir::Root"], 'dists', suite.suite_name, "Release") print outfile out = open(outfile, "w") @@ -187,7 +187,7 @@ class ReleaseWriter(object): if not re_gensubrelease.match(dirpath): continue - subfile = os.path.join(dirpath[1:], "Release") + subfile = os.path.join(dirpath, "Release") subrel = open(subfile, "w") for key, dbfield in subattribs: