mirror of
https://opendev.org/x/pyghmi
synced 2025-03-19 09:57:43 +00:00
Fix the error message on unsupported protocols
It omitted the data for the string formatting. Change-Id: I4a7c75e48a60504554f5f01ce895d763534d51ac
This commit is contained in:
parent
ed73f1e1e2
commit
860a58a169
@ -872,8 +872,8 @@ class XCCClient(IMMClient):
|
||||
rq['Url'] = url
|
||||
else:
|
||||
raise pygexc.UnsupportedFunctionality(
|
||||
'{0} scheme is not supported on this system or '
|
||||
'invalid url format')
|
||||
'"{0}" scheme is not supported on this system or '
|
||||
'invalid url format'.format(proto))
|
||||
rt = self.wc.grab_json_response('/api/providers/rp_vm_remote_connect',
|
||||
json.dumps(rq))
|
||||
if 'return' not in rt or rt['return'] != 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user