Loading cccli/cli.py +12 −8 Original line number Diff line number Diff line Loading @@ -57,6 +57,7 @@ class Cli(object): def _connect(self): self.printer.debug("Connecting...") try: rpcc = SimpleRpcClient.from_addr(self.settings["server"], self.settings["port"], enable_ssl=True, Loading @@ -66,6 +67,9 @@ class Cli(object): ) rpcc.start(daemonize=True) self.rpc = ConnectionProxy(rpcc) except Exception: raise cliError("Connection failure!") self.printer.debug("Connected.") def _auth(self): '''Handle server authentification''' Loading Loading
cccli/cli.py +12 −8 Original line number Diff line number Diff line Loading @@ -57,6 +57,7 @@ class Cli(object): def _connect(self): self.printer.debug("Connecting...") try: rpcc = SimpleRpcClient.from_addr(self.settings["server"], self.settings["port"], enable_ssl=True, Loading @@ -66,6 +67,9 @@ class Cli(object): ) rpcc.start(daemonize=True) self.rpc = ConnectionProxy(rpcc) except Exception: raise cliError("Connection failure!") self.printer.debug("Connected.") def _auth(self): '''Handle server authentification''' Loading