comparison sat/plugins/plugin_dbg_manhole.py @ 3126:2b0f739f8a46

plugin manhole: added "C" to namespace
author Goffi <goffi@goffi.org>
date Sun, 26 Jan 2020 18:08:10 +0100
parents 9211c0d8b50c
children 48eafdab1c34
comparison
equal deleted inserted replaced
3125:c3ce8c997fdf 3126:2b0f739f8a46
55 log.info(_("You can connect to manhole server using telnet on port {port}") 55 log.info(_("You can connect to manhole server using telnet on port {port}")
56 .format(port=port)) 56 .format(port=port))
57 f = protocol.ServerFactory() 57 f = protocol.ServerFactory()
58 namespace = { 58 namespace = {
59 "host": self.host, 59 "host": self.host,
60 "C": C,
60 "jid": jid, 61 "jid": jid,
61 } 62 }
62 f.protocol = lambda: TelnetTransport(TelnetBootstrapProtocol, 63 f.protocol = lambda: TelnetTransport(TelnetBootstrapProtocol,
63 insults.ServerProtocol, 64 insults.ServerProtocol,
64 ColoredManhole, 65 ColoredManhole,