E201 whitespace after '['

This commit is contained in:
2020-11-07 12:39:59 -05:00
parent c88965e898
commit b7daa8e1f6
9 changed files with 25 additions and 25 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)