diff options
author | Bruno Wagner <bwgpro@gmail.com> | 2015-06-03 17:08:49 -0300 |
---|---|---|
committer | Bruno Wagner <bwgpro@gmail.com> | 2015-06-03 17:08:49 -0300 |
commit | ff3563cbd29cb4f2977ff476389ba679324dac5a (patch) | |
tree | ac517c124ccfb9f41b4264d18f1bc478206c0249 /service/pixelated | |
parent | 94340022da52f3b0c6aa27308ef155a6659c3269 (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.py | 2 | ||||
-rw-r--r-- | service/pixelated/config/initialize_leap.py | 1 |
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, |