Remove context.key from preamble_size.py too.

pull/45/head
David Wilson 7 years ago
parent 9e2c74eebc
commit e7bcbdd068

@ -15,7 +15,7 @@ broker = mitogen.master.Broker()
router = mitogen.core.Router(broker) router = mitogen.core.Router(broker)
context = mitogen.master.Context(router, 0) context = mitogen.master.Context(router, 0)
stream = mitogen.ssh.Stream(router, 0, context.key, hostname='foo') stream = mitogen.ssh.Stream(router, 0, hostname='foo')
broker.shutdown() broker.shutdown()
print 'SSH command size: %s' % (len(' '.join(stream.get_boot_command())),) print 'SSH command size: %s' % (len(' '.join(stream.get_boot_command())),)

Loading…
Cancel
Save