cnf = Config()
- outfile = os.path.join("/tmp/mhy", cnf["Dir::Root"][1:], 'dists', suite.suite_name, "Release")
- print outfile
+ suite_suffix = "%s" % (cnf.Find("Dinstall::SuiteSuffix"))
+
+ outfile = os.path.join(cnf["Dir::Root"], 'dists', "%s%s" % (suite.suite_name, suite_suffix), "Release")
out = open(outfile, "w")
for key, dbfield in attribs:
out.write("Architectures: %s\n" % (" ".join([a.arch_string for a in architectures])))
- suite_suffix = "%s" % (cnf.Find("Dinstall::SuiteSuffix"))
-
## FIXME: Components need to be adjusted to whatever will be in the db
## Needs putting in the DB
components = ['main', 'contrib', 'non-free']
if not re_gensubrelease.match(dirpath):
continue
- subfile = os.path.join("/tmp/mhy", dirpath[1:], "Release")
+ subfile = os.path.join(dirpath, "Release")
subrel = open(subfile, "w")
for key, dbfield in subattribs: