diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-10-16 15:48:48 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-10-16 15:48:48 -0400 |
commit | 26896aaed932a14b362d79d160111a79ffb8743c (patch) | |
tree | c3650a511e8eeed23d5ba05fc295c10de373d49c /termcast_client/__init__.py | |
parent | f0ec1b0b8b146b04f0a2f8ebc4d7ded99896ed2a (diff) | |
download | python-termcast-client-26896aaed932a14b362d79d160111a79ffb8743c.tar.gz python-termcast-client-26896aaed932a14b362d79d160111a79ffb8743c.zip |
rename this method
Diffstat (limited to 'termcast_client/__init__.py')
-rw-r--r-- | termcast_client/__init__.py | 4 |
1 files 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: |