Mercurial > p > roundup > code
diff roundup/cgi/engine_zopetal.py @ 4724:98b727b6f7f8
Self-focument API in templating.py loader class
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Fri, 11 Jan 2013 17:15:06 +0300 |
| parents | fd72576e07ed |
| children | 5033c2ad80a7 |
line wrap: on
line diff
--- a/roundup/cgi/engine_zopetal.py Fri Jan 11 01:16:59 2013 +0300 +++ b/roundup/cgi/engine_zopetal.py Fri Jan 11 17:15:06 2013 +0300 @@ -22,15 +22,6 @@ self.dir = dir def get(self, name, extension=None): - """ Interface to get a template, possibly loading a compiled template. - - "name" and "extension" indicate the template we're after, which in - most cases will be "name.extension". If "extension" is None, then - we look for a template just called "name" with no extension. - - If the file "name.extension" doesn't exist, we look for - "_generic.extension" as a fallback. - """ # default the name to "home" if name is None: name = 'home'
