Loading cloudcontrol/server/clients/cli.py +0 −16 Original line number Diff line number Diff line Loading @@ -986,22 +986,6 @@ class CliHandler(RegisteredCCHandler): raise ValueError('Label does not refers on a rshell') client.rshell_resize(stun.label, row, col, xpixel, ypixel) @listed def rshell_wait(self, label): """ Wait for a remote shell termination. """ ttype, client, ctun, stun = self.client.get_tunnel(label) if ttype != 'rshell': raise ValueError('Label does not refers on a rshell') try: rcode = client.rshell_wait(stun.label) except Exception as err: rcode = -1 self.logger.warning('Unexpected exit of tunnel: %s', err) self.client.unregister_tunnel(ctun.label) ctun.close() stun.close() return rcode # # Port forwarding: Loading Loading
cloudcontrol/server/clients/cli.py +0 −16 Original line number Diff line number Diff line Loading @@ -986,22 +986,6 @@ class CliHandler(RegisteredCCHandler): raise ValueError('Label does not refers on a rshell') client.rshell_resize(stun.label, row, col, xpixel, ypixel) @listed def rshell_wait(self, label): """ Wait for a remote shell termination. """ ttype, client, ctun, stun = self.client.get_tunnel(label) if ttype != 'rshell': raise ValueError('Label does not refers on a rshell') try: rcode = client.rshell_wait(stun.label) except Exception as err: rcode = -1 self.logger.warning('Unexpected exit of tunnel: %s', err) self.client.unregister_tunnel(ctun.label) ctun.close() stun.close() return rcode # # Port forwarding: Loading