diff options
author | Leonardo Schäffer <leonardo.schaffer@gmail.com> | 2015-06-25 11:20:44 -0300 |
---|---|---|
committer | Leonardo Schäffer <leonardo.schaffer@gmail.com> | 2015-06-25 11:20:44 -0300 |
commit | 42f31aa607750eb7c00224e7c1c353b27cbd7519 (patch) | |
tree | 4bbfae731c8427c526f22bacb9136e5ed3e69d8c /service/pixelated/maintenance.py | |
parent | 7f349abe67b8e1a71798478f6c26b08773f2d869 (diff) | |
parent | 0b179c61043a9854fa23b8fd40fd252864ecd021 (diff) |
Merge branch 'master' into floatlabel_for_compose
Diffstat (limited to 'service/pixelated/maintenance.py')
-rw-r--r-- | service/pixelated/maintenance.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/service/pixelated/maintenance.py b/service/pixelated/maintenance.py index cd55e6f6..7170055c 100644 --- a/service/pixelated/maintenance.py +++ b/service/pixelated/maintenance.py @@ -21,9 +21,11 @@ from pixelated.config.leap import initialize_leap from pixelated.config import logger, arguments from leap.mail.imap.fields import WithMsgFields +import time def initialize(): + import time args = arguments.parse_maintenance_args() logger.init(debug=args.debug) @@ -32,8 +34,8 @@ def initialize(): args.leap_provider_cert, args.leap_provider_cert_fingerprint, args.credentials_file, - args.organization_mode, - args.leap_home) + organization_mode=False, + leap_home=args.leap_home) execute_command = create_execute_command(args, leap_session) @@ -175,6 +177,7 @@ def dump_soledad(args): def shutdown(args): + time.sleep(30) reactor.stop() |