diff options
author | Bruno Wagner <bwgpro@gmail.com> | 2015-06-03 17:35:17 -0300 |
---|---|---|
committer | Bruno Wagner <bwgpro@gmail.com> | 2015-06-03 17:35:17 -0300 |
commit | 8bde936220ed6330c032f6a60335fec54a5138d8 (patch) | |
tree | bbd42157ea8d24042c627991c6dcfceaf2aa7c99 /service/pixelated | |
parent | f4f2f0ff3e808bc2c85b914aa750ad68770ed334 (diff) |
Better identing the initialization deferreds
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/config/__init__.py | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/service/pixelated/config/__init__.py b/service/pixelated/config/__init__.py index 125ee1cb..e21cb4c0 100644 --- a/service/pixelated/config/__init__.py +++ b/service/pixelated/config/__init__.py @@ -53,20 +53,22 @@ def initialize(): loading_app = reactor.listenTCP(args.port, Site(LoadingResource()), interface=args.host) deferred = deferToThread( - lambda: initialize_leap(args.leap_provider_cert, - args.leap_provider_cert_fingerprint, - args.config_file, - args.dispatcher, - args.dispatcher_stdin, - args.leap_home)) + lambda: initialize_leap( + args.leap_provider_cert, + args.leap_provider_cert_fingerprint, + args.config_file, + args.dispatcher, + args.dispatcher_stdin, + args.leap_home)) deferred.addCallback( - lambda leap_session: start_user_agent(loading_app, - args.host, - args.port, - args.sslkey, - args.sslcert, - args.leap_home, - leap_session)) + lambda leap_session: start_user_agent( + loading_app, + args.host, + args.port, + args.sslkey, + args.sslcert, + args.leap_home, + leap_session)) reactor.run() |