Remove the unnecessary statement for possible_action check
"CONF.action is None" in included in "CONF.action not in possible_action" it is unnecessary. this patch to review it. Change-Id: Ia0e21122a11ab0c1f36886b86df9613dac42f3ea
This commit is contained in:
parent
0f0e411663
commit
8ddd174374
|
@ -203,7 +203,7 @@ def main():
|
|||
arguments.parse_args(possible_actions)
|
||||
arguments.setup_logging()
|
||||
|
||||
if CONF.action is None or CONF.action not in possible_actions:
|
||||
if CONF.action not in possible_actions:
|
||||
CONF.print_help()
|
||||
return 65 # os.EX_DATAERR
|
||||
|
||||
|
|
Loading…
Reference in New Issue