diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-06-30 14:36:52 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-06-30 14:37:23 -0300 |
commit | 12e238c81ed07879f1b55f327a67682233dc7ee3 (patch) | |
tree | d979dbbf6358b99d5d2a3947abde9ffe7bceaa11 /src/leap/bitmask/util | |
parent | 7858d83af4a09ab00f6ba33dd8dbcf07ade101ce (diff) |
Handle undefined danger flag.
Diffstat (limited to 'src/leap/bitmask/util')
-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 |