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:
caoyuan 2018-01-20 22:26:27 +08:00 committed by Saad Zaher
parent 0f0e411663
commit 8ddd174374
1 changed files with 1 additions and 1 deletions

View File

@ -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