/usr/lib/ezmlm-browse/commands/showthread.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: Show thread
###############################################################################
def do(ctxt):
ezmlm = ctxt[EZMLM]
ctxt.update(ezmlm.thread(ctxt[THREADID]))
header(ctxt, 'Thread: ' + ctxt[SUBJECT], 'showthread')
do_list(ctxt, 'msgs', ctxt[MSGSPERPAGE], ctxt[MESSAGES],
lambda:sub_showmsg(ctxt, ctxt[MSGNUM]))
footer(ctxt)
|