/usr/share/pyshared/odtexport/OdtTemplate.py is in trac-odtexport 0.6.0+svn10787-2.
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 11 12 13 14 15 | """
This is a pseudo-macro which does not output anything, but is used by the ODT
renderer to choose which file to use as the ODT template.
"""
from trac.wiki.macros import WikiMacroBase
class OdtTemplateMacro(WikiMacroBase): # pylint: disable-msg=W0223
"""
Choose which file to use as the ODT template, see the
[http://trac-hacks.org/wiki/OdtExportPlugin#Choosingatemplate wiki page]
for details.
"""
def expand_macro(self, formatter, name, args): # pylint: disable-msg=W0613
return ''
|