mgr/dashboard/cleanup: Remove unnecessary parentheses

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
This commit is contained in:
Patrick Nawracay 2018-06-07 18:09:42 +02:00
parent bd2196b6ca
commit add29e27f4

View File

@ -143,7 +143,8 @@ def options_schema_list():
def handle_option_command(cmd):
if cmd['prefix'] not in _OPTIONS_COMMAND_MAP:
return (-errno.ENOSYS, '', "Command not found '{}'".format(cmd['prefix']))
return -errno.ENOSYS, '', "Command not found '{}'".format(cmd['prefix'])
opt = _OPTIONS_COMMAND_MAP[cmd['prefix']]
if cmd['prefix'].startswith('dashboard reset'):