summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-12-19 15:51:13 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-12-19 17:05:13 -0300
commit30b02e9153b21d177bf0f79e7132157bf25b636d (patch)
tree7cf34fb48ee420a2c2254753a13026252a791e6b
parent98c874503e14b40896a63ea36b86d39edccb8b30 (diff)
Disable '--offline' temporarily.
-rw-r--r--src/leap/bitmask/app.py4
-rw-r--r--src/leap/bitmask/util/leap_argparse.py7
2 files changed, 7 insertions, 4 deletions
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='?',