summaryrefslogtreecommitdiff
path: root/gen-patch-info.py
diff options
context:
space:
mode:
Diffstat (limited to 'gen-patch-info.py')
-rwxr-xr-xgen-patch-info.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gen-patch-info.py b/gen-patch-info.py
index 2a22c9f..59c56eb 100755
--- a/gen-patch-info.py
+++ b/gen-patch-info.py
@@ -8,6 +8,7 @@ from fnmatch import fnmatch
from gzip import GzipFile
from debian_bundle import deb822
from Cheetah.Template import Template
+from Cheetah.Compiler import Compiler
class Conf:
archive_root = '/scratch/debian-archive/debian'
@@ -148,7 +149,7 @@ class PackageVersTemplate(OurTemplate):
def __init__(self, srcpkg, suite):
self.src = srcpkg
self.suite = suite
- tpl=os.sep.join([Conf.template_dir, "package-vers.tmpl"])
+ tpl=os.sep.join([Conf.template_dir, "package_vers.tmpl"])
OurTemplate.__init__(self, file=tpl)
class PackageVersWriter(PageWriter):
@@ -211,7 +212,7 @@ class LetterTocTemplate(OurTemplate):
for name,packagelist in collection.iteritems():
for d in packagelist.iterkeys():
self.dists[d] = True
- tpl = os.sep.join([Conf.template_dir, "letter-toc.tmpl"])
+ tpl = os.sep.join([Conf.template_dir, "letter_toc.tmpl"])
OurTemplate.__init__(self, file=tpl)
class LetterTocWriter(PageWriter):
@@ -221,6 +222,7 @@ class LetterTocWriter(PageWriter):
PageWriter.__init__(self, dest, template)
if __name__ == '__main__':
+ os.system("cheetah compile templates/skeleton")
a = Archive(Conf.archive_root)
# just for now until development stablizes