diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-06-30 14:43:42 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-06-30 14:43:42 -0300 |
commit | b92d63030015e46db666f9d3543f9f75d3b54fba (patch) | |
tree | d979dbbf6358b99d5d2a3947abde9ffe7bceaa11 /src/leap/bitmask | |
parent | 7858d83af4a09ab00f6ba33dd8dbcf07ade101ce (diff) | |
parent | 12e238c81ed07879f1b55f327a67682233dc7ee3 (diff) |
Merge remote-tracking branch 'refs/remotes/ivan/bug/handle-undefined-danger-flag' into develop
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r-- | src/leap/bitmask/util/leap_argparse.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/bitmask/util/leap_argparse.py b/src/leap/bitmask/util/leap_argparse.py index 0717aea5..b7428488 100644 --- a/src/leap/bitmask/util/leap_argparse.py +++ b/src/leap/bitmask/util/leap_argparse.py @@ -132,4 +132,9 @@ def get_options(): """ parser = build_parser() opts, unknown = parser.parse_known_args() + + # we add this option manually since it's not defined for 'release version' + if not IS_RELEASE_VERSION: + opts.danger = False + return opts |