From c6478565432672bfc2f38e72a376c89e7bb2ef76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Touceda?= Date: Thu, 17 Oct 2013 15:29:36 -0300 Subject: Disable danger flag on release versions --- changes/bug_disable_danger_flag | 1 + src/leap/bitmask/util/leap_argparse.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 changes/bug_disable_danger_flag 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) -- cgit v1.2.3