Remove context.key from preamble_size.py too.

This commit is contained in:
David Wilson 2017-09-27 14:02:01 +05:30
parent 1be10575a1
commit 3c288d12b0
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ broker = mitogen.master.Broker()
router = mitogen.core.Router(broker)
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()
print 'SSH command size: %s' % (len(' '.join(stream.get_boot_command())),)