summaryrefslogtreecommitdiff
path: root/service/pixelated
diff options
context:
space:
mode:
authorBruno Wagner <bwgpro@gmail.com>2015-06-03 17:08:49 -0300
committerBruno Wagner <bwgpro@gmail.com>2015-06-03 17:08:49 -0300
commitff3563cbd29cb4f2977ff476389ba679324dac5a (patch)
treeac517c124ccfb9f41b4264d18f1bc478206c0249 /service/pixelated
parent94340022da52f3b0c6aa27308ef155a6659c3269 (diff)
Changed the method used to open a leap session to a meaningful and non-conflicting name
Diffstat (limited to 'service/pixelated')
-rw-r--r--service/pixelated/bitmask_libraries/session.py2
-rw-r--r--service/pixelated/config/initialize_leap.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/service/pixelated/bitmask_libraries/session.py b/service/pixelated/bitmask_libraries/session.py
index 1c8c8c3b..5562e67c 100644
--- a/service/pixelated/bitmask_libraries/session.py
+++ b/service/pixelated/bitmask_libraries/session.py
@@ -36,7 +36,7 @@ from .config import DEFAULT_LEAP_HOME
SESSIONS = {}
-def open(username, password, server_name, leap_home=DEFAULT_LEAP_HOME):
+def open_leap_session(username, password, server_name, leap_home=DEFAULT_LEAP_HOME):
config = LeapConfig(leap_home=leap_home)
provider = LeapProvider(server_name, config)
refresh_ca_bundle(provider)
diff --git a/service/pixelated/config/initialize_leap.py b/service/pixelated/config/initialize_leap.py
index 2296f1fd..df7b8412 100644
--- a/service/pixelated/config/initialize_leap.py
+++ b/service/pixelated/config/initialize_leap.py
@@ -2,6 +2,7 @@ from pixelated.config.config import Config
from pixelated.config.config_ua import config_user_agent
from pixelated.config.dispatcher import config_dispatcher
import pixelated.bitmask_libraries.certs as certs
+from pixelated.bitmask_libraries.session import open_leap_session
def initialize_leap(leap_provider_cert,