Show More
@@ -391,7 +391,6 class ConnectionFileMixin(HasTraits): | |||||
391 | _connection_file_written = Bool(False) |
|
391 | _connection_file_written = Bool(False) | |
392 |
|
392 | |||
393 | transport = CaselessStrEnum(['tcp', 'ipc'], default_value='tcp', config=True) |
|
393 | transport = CaselessStrEnum(['tcp', 'ipc'], default_value='tcp', config=True) | |
394 | signature_scheme = Unicode('') |
|
|||
395 |
|
394 | |||
396 | ip = Unicode(LOCALHOST, config=True, |
|
395 | ip = Unicode(LOCALHOST, config=True, | |
397 | help="""Set the kernel\'s IP address [default localhost]. |
|
396 | help="""Set the kernel\'s IP address [default localhost]. | |
@@ -439,7 +438,8 class ConnectionFileMixin(HasTraits): | |||||
439 | stdin_port=self.stdin_port, |
|
438 | stdin_port=self.stdin_port, | |
440 | hb_port=self.hb_port, |
|
439 | hb_port=self.hb_port, | |
441 | control_port=self.control_port, |
|
440 | control_port=self.control_port, | |
442 |
signature_sch |
|
441 | signature_schme=self.session.signature_scheme, | |
|
442 | key=self.session.key, | |||
443 | ) |
|
443 | ) | |
444 |
|
444 | |||
445 | def cleanup_connection_file(self): |
|
445 | def cleanup_connection_file(self): | |
@@ -476,7 +476,7 class ConnectionFileMixin(HasTraits): | |||||
476 | stdin_port=self.stdin_port, iopub_port=self.iopub_port, |
|
476 | stdin_port=self.stdin_port, iopub_port=self.iopub_port, | |
477 | shell_port=self.shell_port, hb_port=self.hb_port, |
|
477 | shell_port=self.shell_port, hb_port=self.hb_port, | |
478 | control_port=self.control_port, |
|
478 | control_port=self.control_port, | |
479 | signature_scheme=self.signature_scheme, |
|
479 | signature_scheme=self.session.signature_scheme, | |
480 | ) |
|
480 | ) | |
481 | # write_connection_file also sets default ports: |
|
481 | # write_connection_file also sets default ports: | |
482 | for name in port_names: |
|
482 | for name in port_names: |
General Comments 0
You need to be logged in to leave comments.
Login now