From 26896aaed932a14b362d79d160111a79ffb8743c Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 16 Oct 2014 15:48:48 -0400 Subject: rename this method --- termcast_client/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/termcast_client/__init__.py b/termcast_client/__init__.py index c8986b0..0bab15b 100644 --- a/termcast_client/__init__.py +++ b/termcast_client/__init__.py @@ -23,7 +23,7 @@ class Client(object): self.sock = socket.socket() self.sock.connect((self.host, self.port)) if self.tls: - self._setup_tls() + self._starttls() self.sock.send(self._build_connection_string()) self.winch_set = False pity.spawn( @@ -32,7 +32,7 @@ class Client(object): handle_window_size=True ) - def _setup_tls(self): + def _starttls(self): self.sock.send(b'starttls\n') context = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH) if self.fingerprint is not None: -- cgit v1.2.3