Skip to content

Commit fc57c1d

Browse files
committed
[stream-refactor] repair preamble_size.py again
1 parent c023586 commit fc57c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

preamble_size.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
context = mitogen.parent.Context(router, 0)
2222
options = mitogen.ssh.Options(max_message_size=0, hostname='foo')
2323
conn = mitogen.ssh.Connection(options, router)
24-
conn.context_id = 123
24+
conn.context = context
2525

2626
print('SSH command size: %s' % (len(' '.join(conn.get_boot_command())),))
2727
print('Preamble size: %s (%.2fKiB)' % (

0 commit comments

Comments
 (0)