/usr/share/pyshared/wikiprint/api.py is in trac-wikiprint 1.9.2-1.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 11 12 13 14 15 16 | """
Copyright (C) 2008 Prognus Software Livre - www.prognus.com.br
Author: Diorgenes Felipe Grzesiuk <diorgenes@prognus.com.br>
Modified by: Alvaro Iradier <alvaro.iradier@polartech.es>
"""
from trac.core import *
class IWikiPrintFormat(Interface):
"""An extension point for adding output formats to the WikiPrint plugin."""
def wikiprint_formats(self, req):
"""Return an iterable of (format, name)."""
def process_wikiprint(self, req, format, title, subject, top, bottom, right, left, header, toctitle, pages):
"""Process and return the wiki output in the given format."""
|