summaryrefslogtreecommitdiff
path: root/src/leap/base/connection.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-09-20 04:40:12 +0900
committerkali <kali@leap.se>2012-09-20 04:52:42 +0900
commitf2a841a87ce1651650d16305e42bfe33c3eaa0b9 (patch)
tree0cd7500414453c09f7bd8e39d2ce86e98278455f /src/leap/base/connection.py
parentf2749fa3ff1df5875d3bc0b932a408031fee9874 (diff)
cleanup
Diffstat (limited to 'src/leap/base/connection.py')
-rw-r--r--src/leap/base/connection.py17
1 files changed, 0 insertions, 17 deletions
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