diff options
author | rafael lisboa <rafaelzlisboa@gmail.com> | 2015-06-04 17:40:33 -0300 |
---|---|---|
committer | rafael lisboa <rafaelzlisboa@gmail.com> | 2015-06-04 17:42:23 -0300 |
commit | 0a5104c2edf7ade2a5d7f69aaf7bd55da19a406b (patch) | |
tree | 62f77ecf6e9198dc0d61d45fb8e084bbcdb0ced8 /service/pixelated | |
parent | 12151baefe15e12d989b89a880a3baf79aa599ef (diff) |
init_leap_session moved to initialize_leap.py (#406)
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/config/app_factory.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/service/pixelated/config/app_factory.py b/service/pixelated/config/app_factory.py index 98616a56..c29b5722 100644 --- a/service/pixelated/config/app_factory.py +++ b/service/pixelated/config/app_factory.py @@ -38,19 +38,6 @@ INIT_INDEX_AND_REMOVE_DUPES_CALLBACK = 12346 CHECK_WELCOME_MAIL_CALLBACK = 12347 -def init_leap_session(app, leap_home): - try: - leap_session = LeapSession.open(app.config['LEAP_USERNAME'], - app.config['LEAP_PASSWORD'], - app.config['LEAP_SERVER_NAME'], - leap_home=leap_home) - except ConnectionError, error: - print("Can't connect to the requested provider", error) - reactor.stop() - sys.exit(1) - return leap_session - - def init_app(leap_home, leap_session): leap_session.start_background_jobs() keymanager = leap_session.nicknym.keymanager |