Mercurial > p > roundup > code
diff roundup/cgi/templating.py @ 1065:0f9aa62917bd
much nicer error messages when there's a templating error
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 06 Sep 2002 07:21:31 +0000 |
| parents | 7f9b942128a3 |
| children | 73e7bbb8a1fa |
line wrap: on
line diff
--- a/roundup/cgi/templating.py Fri Sep 06 05:53:02 2002 +0000 +++ b/roundup/cgi/templating.py Fri Sep 06 07:21:31 2002 +0000 @@ -98,7 +98,7 @@ # compile the template templates[key] = pt = RoundupPageTemplate() pt.write(open(src).read()) - pt.id = name + pt.id = filename pt.mtime = time.time() return pt
