Lint: E231 missing whitespace after ':'
This commit is contained in:
parent
905b81c47d
commit
292ccdd94e
|
@ -730,7 +730,7 @@ def vm_flush_locks(vm):
|
|||
retdata = retdata[0]
|
||||
|
||||
if retdata['state'] not in ['stop', 'disable']:
|
||||
return {"message":"VM must be stopped to flush locks"}, 400
|
||||
return {"message": "VM must be stopped to flush locks"}, 400
|
||||
|
||||
zk_conn = pvc_common.startZKConnection(config['coordinators'])
|
||||
retflag, retdata = pvc_vm.flush_locks(zk_conn, vm)
|
||||
|
|
|
@ -171,7 +171,7 @@ def call_api(config, operation, request_uri, headers={}, params=None, data=None,
|
|||
)
|
||||
except Exception as e:
|
||||
message = 'Failed to connect to the API: {}'.format(e)
|
||||
response = ErrorResponse({'message':message}, 500)
|
||||
response = ErrorResponse({'message': message}, 500)
|
||||
|
||||
# Display debug output
|
||||
if config['debug']:
|
||||
|
|
Loading…
Reference in New Issue