diff options
author | Bruno Wagner <bwgpro@gmail.com> | 2015-06-02 19:28:01 -0300 |
---|---|---|
committer | Bruno Wagner <bwgpro@gmail.com> | 2015-06-02 19:28:39 -0300 |
commit | fd1820c2951f27341a0010cfc4c6009abdfe8261 (patch) | |
tree | 7064d3682623cd8cb7e9ee3d6dfb39f841d9300d /service/pixelated/config/initialize_leap.py | |
parent | ceb0af34967ba9c21ac710fdc0e3f62ae2358fc1 (diff) |
Started isolating leap initialization, so we can call it in one place instead of across all of initialization
Diffstat (limited to 'service/pixelated/config/initialize_leap.py')
-rw-r--r-- | service/pixelated/config/initialize_leap.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/service/pixelated/config/initialize_leap.py b/service/pixelated/config/initialize_leap.py new file mode 100644 index 00000000..e393ec3f --- /dev/null +++ b/service/pixelated/config/initialize_leap.py @@ -0,0 +1,13 @@ +from pixelated.config.leap_cert import init_leap_cert + + +def initialize_leap(leap_provider_cert, leap_provider_cert_fingerprint): + import pixelated.support.ext_protobuf + import pixelated.support.ext_sqlcipher + import pixelated.support.ext_esmtp_sender_factory + import pixelated.support.ext_fetch + import pixelated.support.ext_sync + import pixelated.support.ext_keymanager_fetch_key + import pixelated.support.ext_requests_urllib3 + + init_leap_cert(leap_provider_cert, leap_provider_cert_fingerprint) |