mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-05 09:40:32 +00:00
Fix "--force set" without a value sneaking a None in
This commit is contained in:
parent
a52f97d5a5
commit
63cdb2855f
@ -354,7 +354,8 @@ if __name__ == '__main__':
|
|||||||
found, unless --force is passed.
|
found, unless --force is passed.
|
||||||
""")
|
""")
|
||||||
parser_set.add_argument('symbol', metavar='SYMBOL')
|
parser_set.add_argument('symbol', metavar='SYMBOL')
|
||||||
parser_set.add_argument('value', metavar='VALUE', nargs='?')
|
parser_set.add_argument('value', metavar='VALUE', nargs='?',
|
||||||
|
default='')
|
||||||
parser_unset = subparsers.add_parser('unset',
|
parser_unset = subparsers.add_parser('unset',
|
||||||
help="""Comment out the #define
|
help="""Comment out the #define
|
||||||
for SYMBOL. Do nothing if none
|
for SYMBOL. Do nothing if none
|
||||||
|
Loading…
x
Reference in New Issue
Block a user