From f2a841a87ce1651650d16305e42bfe33c3eaa0b9 Mon Sep 17 00:00:00 2001 From: kali Date: Thu, 20 Sep 2012 04:40:12 +0900 Subject: cleanup --- src/leap/base/connection.py | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/leap/base/connection.py') diff --git a/src/leap/base/connection.py b/src/leap/base/connection.py index f594d21c..e478538d 100644 --- a/src/leap/base/connection.py +++ b/src/leap/base/connection.py @@ -5,7 +5,6 @@ from __future__ import (division, unicode_literals, print_function) import logging -#from leap.base.config import JSONLeapConfig from leap.base.authentication import Authentication logger = logging.getLogger(name=__name__) @@ -56,22 +55,6 @@ class Connection(Authentication): """ return self.desired_connection_state - #def poll_connection_state(self): - #""" - #""" - #try: - #state = self.get_connection_state() - #except ConnectionRefusedError: - # connection refused. might be not ready yet. - #return - #if not state: - #return - #(ts, status_step, - #ok, ip, remote) = state - #self.status.set_vpn_state(status_step) - #status_step = self.status.get_readable_status() - #return (ts, status_step, ok, ip, remote) - def get_icon_name(self): """ get icon name from status object -- cgit v1.2.3