Mercurial > p > roundup > code
comparison roundup/templatebuilder.py @ 69:0eed07d99b98
oops. Html.
| author | Anthony Baxter <anthonybaxter@users.sourceforge.net> |
|---|---|
| date | Tue, 24 Jul 2001 10:54:11 +0000 |
| parents | 5e71aaa87e5b |
| children | 0b250446cf8b |
comparison
equal
deleted
inserted
replaced
| 68:5e71aaa87e5b | 69:0eed07d99b98 |
|---|---|
| 31 tmod = getattr(tdir, template) | 31 tmod = getattr(tdir, template) |
| 32 else: | 32 else: |
| 33 raise "TemplateError", \ | 33 raise "TemplateError", \ |
| 34 "couldn't find roundup.template.%s.htmlbase"%template | 34 "couldn't find roundup.template.%s.htmlbase"%template |
| 35 htmlbase = tmod.htmlbase | 35 htmlbase = tmod.htmlbase |
| 36 installDir = os.path.join(installDir, 'html') | |
| 36 | 37 |
| 37 print "installing from", htmlbase.__file__, "into", installDir | 38 print "installing from", htmlbase.__file__, "into", installDir |
| 38 modulecontents = dir(htmlbase) | 39 modulecontents = dir(htmlbase) |
| 39 for mangledfile in modulecontents: | 40 for mangledfile in modulecontents: |
| 40 if mangledfile[0] == "_": | 41 if mangledfile[0] == "_": |
