Show More
@@ -495,7 +495,12 class Client(HasTraits): | |||||
495 | } |
|
495 | } | |
496 | self._queue_handlers = {'execute_reply' : self._handle_execute_reply, |
|
496 | self._queue_handlers = {'execute_reply' : self._handle_execute_reply, | |
497 | 'apply_reply' : self._handle_apply_reply} |
|
497 | 'apply_reply' : self._handle_apply_reply} | |
498 | self._connect(sshserver, ssh_kwargs, timeout) |
|
498 | ||
|
499 | try: | |||
|
500 | self._connect(sshserver, ssh_kwargs, timeout) | |||
|
501 | except: | |||
|
502 | self.close(linger=0) | |||
|
503 | raise | |||
499 |
|
504 | |||
500 | # last step: setup magics, if we are in IPython: |
|
505 | # last step: setup magics, if we are in IPython: | |
501 |
|
506 |
General Comments 0
You need to be logged in to leave comments.
Login now