diff options
author | Bruno Wagner <bwagner@riseup.net> | 2016-08-19 16:55:28 -0300 |
---|---|---|
committer | Bruno Wagner <bwagner@riseup.net> | 2016-08-19 17:00:53 -0300 |
commit | db9917a769edacfffc9ae1166f07473a30471ef2 (patch) | |
tree | d048bbbfba7a31a87749afa721e37ec41c3e5ec1 /service/pixelated/maintenance.py | |
parent | 09fbc16dc6e55b3fa2f2c9ea7b3fba7eee981dfa (diff) |
Normalizing single and multi user bootstrap #759
Consolidated authentication to always be
done is a defer to thread and changed the
authenticate_user method name to conform
with what it actually does
Diffstat (limited to 'service/pixelated/maintenance.py')
-rw-r--r-- | service/pixelated/maintenance.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/service/pixelated/maintenance.py b/service/pixelated/maintenance.py index 7809b13d..3b216304 100644 --- a/service/pixelated/maintenance.py +++ b/service/pixelated/maintenance.py @@ -47,8 +47,7 @@ def initialize(): args.leap_provider_cert, args.leap_provider_cert_fingerprint, args.credentials_file, - leap_home=args.leap_home, - initial_sync=_do_initial_sync(args)) + leap_home=args.leap_home) execute_command(args, leap_session) @@ -56,10 +55,6 @@ def initialize(): reactor.run() -def _do_initial_sync(args): - return (not _is_repair_command(args)) and (not _is_integrity_check_command(args)) - - def _is_repair_command(args): return args.command == REPAIR_COMMAND |