diff options
author | Kali Kaneko <kali@leap.se> | 2013-12-17 15:57:48 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-12-18 12:06:55 -0400 |
commit | edf47444232c9e3637e2ad71bdd5ffa8cdcc8480 (patch) | |
tree | 44c7398f166dc5198332ff6497ba2735c08b6859 /src/leap/bitmask/app.py | |
parent | ac55fee7ef10b5e760d72b0a98ef5dd6925fe72e (diff) |
add repair mailbox utility
Diffstat (limited to 'src/leap/bitmask/app.py')
-rw-r--r-- | src/leap/bitmask/app.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/bitmask/app.py b/src/leap/bitmask/app.py index 719ec8ad..3bf4575e 100644 --- a/src/leap/bitmask/app.py +++ b/src/leap/bitmask/app.py @@ -54,6 +54,7 @@ from leap.bitmask.util import log_silencer from leap.bitmask.util.leap_log_handler import LeapLogHandler from leap.bitmask.util.streamtologger import StreamToLogger from leap.bitmask.platform_init import IS_WIN +from leap.bitmask.services.mail.repair import repair_account from leap.common.events import server as event_server from leap.mail import __version__ as MAIL_VERSION @@ -174,6 +175,10 @@ def main(): print "leap.mail version: %s" % (MAIL_VERSION,) sys.exit(0) + if opts.acct_to_repair: + repair_account(opts.acct_to_repair) + sys.exit(0) + standalone = opts.standalone bypass_checks = getattr(opts, 'danger', False) debug = opts.debug |