/usr/lib/ezmlm-browse/commands/threadindex.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 13 | from globals import *
from globalfns import *
###############################################################################
# Command: Thread index
###############################################################################
def do(ctxt):
ezmlm = ctxt[EZMLM]
ctxt.update(ezmlm.thread(ctxt[THREADID]))
header(ctxt, 'Thread: ' + ctxt[SUBJECT], 'threadidx')
ctxt[THREADS] = ezmlm.thread_messages(ctxt[MESSAGES])
rec_thread(ctxt)
footer(ctxt)
|