Mercurial > p > roundup > code
diff roundup/cgi/templating.py @ 3283:4fe232899be8 maint-0.8
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 13 Apr 2005 06:19:54 +0000 |
| parents | 8b0397a90a22 |
| children | c074b1024132 |
line wrap: on
line diff
--- a/roundup/cgi/templating.py Wed Apr 13 06:11:15 2005 +0000 +++ b/roundup/cgi/templating.py Wed Apr 13 06:19:54 2005 +0000 @@ -85,10 +85,10 @@ # try with a .html or .xml extension (new-style) for extension in '.html', '.xml': - filename = filename + extension - src = os.path.join(dir, filename) + f = filename + extension + src = os.path.join(dir, f) if os.path.exists(src): - return (src, filename) + return (src, f) # no view == no generic template is possible if not view:
