Merge "Remove the unnecessary statement for possible_action check"

This commit is contained in:
Zuul 2018-01-30 14:35:27 +00:00 committed by Gerrit Code Review
commit 4379582424
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