Mercurial > p > roundup > code
view roundup/cgi/PageTemplates/README.txt @ 7999:310e19beba3e
fix: report filename if template file is invalid
A file name like .#issue.search.html causes a crash because _find
returns None not a tuple and unpacking fails.
Trap the TypeError and raise ValueError with message that includes the
basename of the file.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 26 May 2024 11:14:10 -0400 |
| parents | b9988e118055 |
| children |
line wrap: on
line source
See <a href="http://dev.zope.org/Wikis/DevSite/Projects/ZPT">the ZPT project Wiki</a> for more information about Page Templates, or <a href="http://www.zope.org/Members/4am/ZPT">the download page</a> for installation instructions and the most recent version of the software. This Product requires the TAL and ZTUtils packages to be installed in your Python path (not Products). See the links above for more information.
