Lint: E202 whitespace before ']'

This commit is contained in:
2020-11-07 13:02:54 -05:00
parent d2e5ede399
commit d2490419c5
9 changed files with 25 additions and 27 deletions

View File

@ -656,7 +656,7 @@ def get_list(zk_conn, node, state, limit, is_fuzzy=True):
return False, 'Specified node "{}" is invalid.'.format(node)
if state:
valid_states = ['start', 'restart', 'shutdown', 'stop', 'disable', 'fail', 'migrate', 'unmigrate', 'provision' ]
valid_states = ['start', 'restart', 'shutdown', 'stop', 'disable', 'fail', 'migrate', 'unmigrate', 'provision']
if state not in valid_states:
return False, 'VM state "{}" is not valid.'.format(state)