From 30b02e9153b21d177bf0f79e7132157bf25b636d Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Fri, 19 Dec 2014 15:51:13 -0300 Subject: Disable '--offline' temporarily. --- src/leap/bitmask/app.py | 4 +++- src/leap/bitmask/util/leap_argparse.py | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'src/leap') diff --git a/src/leap/bitmask/app.py b/src/leap/bitmask/app.py index ad886bc4..87f22d88 100644 --- a/src/leap/bitmask/app.py +++ b/src/leap/bitmask/app.py @@ -127,7 +127,9 @@ def start_app(): } flags.STANDALONE = opts.standalone - flags.OFFLINE = opts.offline + # XXX Disabled right now since it's not tested after login refactor + # flags.OFFLINE = opts.offline + flags.OFFLINE = False flags.MAIL_LOGFILE = opts.mail_log_file flags.APP_VERSION_CHECK = opts.app_version_check flags.API_VERSION_CHECK = opts.api_version_check diff --git a/src/leap/bitmask/util/leap_argparse.py b/src/leap/bitmask/util/leap_argparse.py index cbd6d8a5..346caed5 100644 --- a/src/leap/bitmask/util/leap_argparse.py +++ b/src/leap/bitmask/util/leap_argparse.py @@ -74,9 +74,10 @@ def build_parser(): help='Verbosity level for openvpn logs [1-6]') # mail stuff - parser.add_argument('-o', '--offline', action="store_true", - help='Starts Bitmask in offline mode: will not ' - 'try to sync with remote replicas for email.') + # XXX Disabled right now since it's not tested after login refactor + # parser.add_argument('-o', '--offline', action="store_true", + # help='Starts Bitmask in offline mode: will not ' + # 'try to sync with remote replicas for email.') parser.add_argument('--acct', metavar="user@provider", nargs='?', -- cgit v1.2.3