projects
/
dak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76e699b
)
And don't strip the leading / anymore
author
Mark Hymers
<mhy@debian.org>
Thu, 24 Mar 2011 18:28:44 +0000
(18:28 +0000)
committer
Mark Hymers
<mhy@debian.org>
Thu, 24 Mar 2011 18:28:44 +0000
(18:28 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/generate_releases.py
patch
|
blob
|
history
diff --git
a/dak/generate_releases.py
b/dak/generate_releases.py
index 258677ee47d0b282c96a8d53948fc4c5824423ee..37b4290e19f3ea2ecb145dce20fe35738fb8f6fd 100755
(executable)
--- 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: