/usr/lib/ezmlm-browse/commands/author.py is in ezmlm-browse 0.10-3.
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 | from globals import *
from globalfns import *
###############################################################################
# Command: Author post listing
###############################################################################
def do(ctxt):
ctxt.update(ctxt[EZMLM].author(ctxt[AUTHORID]))
format_timestamps(ctxt, ctxt[MESSAGES])
header(ctxt, 'Author: ' + ctxt[AUTHOR], 'author')
do_list(ctxt, 'msglist', ctxt[PERPAGE], ctxt[MESSAGES])
footer(ctxt)
|