/usr/lib/python2.7/dist-packages/chameleon/tests/inputs/020-on-error.pt is in python-chameleon 2.24-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | <html>
<body>
<div id="test" tal:attributes="class python: 'abc' + 2" tal:on-error="nothing" />
<div tal:on-error="string:${type(error.value).__name__} thrown at ${error.lineno}:${error.offset}.">
<div tal:content="undefined" />
</div>
<div tal:replace="undefined" tal:on-error="nothing" />
<div tal:content="undefined" tal:on-error="nothing" />
</body>
</html>
|