diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-10-17 15:29:36 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-10-17 15:54:41 -0300 |
commit | c6478565432672bfc2f38e72a376c89e7bb2ef76 (patch) | |
tree | a42cf0a6fa72c7748034ffcdeab4add0585e820c | |
parent | ab4d64199ed309dd3f2a55604d33a56c34fbe464 (diff) |
Disable danger flag on release versions
-rw-r--r-- | changes/bug_disable_danger_flag | 1 | ||||
-rw-r--r-- | src/leap/bitmask/util/leap_argparse.py | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/changes/bug_disable_danger_flag b/changes/bug_disable_danger_flag new file mode 100644 index 00000000..2a555b17 --- /dev/null +++ b/changes/bug_disable_danger_flag @@ -0,0 +1 @@ + o Disable --danger flag on release versions. Closes #4124.
\ No newline at end of file diff --git a/src/leap/bitmask/util/leap_argparse.py b/src/leap/bitmask/util/leap_argparse.py index afe5be48..e8a9fda9 100644 --- a/src/leap/bitmask/util/leap_argparse.py +++ b/src/leap/bitmask/util/leap_argparse.py @@ -33,8 +33,7 @@ Launches Bitmask""", epilog=epilog) parser.add_argument('-d', '--debug', action="store_true", help=("Launches Bitmask in debug mode, writing debug" "info to stdout")) - # TODO: when we are ready to disable the --danger flag remove 'True or ' - if True or not IS_RELEASE_VERSION: + if not IS_RELEASE_VERSION: help_text = "Bypasses the certificate check for bootstrap" parser.add_argument('--danger', action="store_true", help=help_text) |