mirror of
https://opendev.org/x/pyghmi
synced 2024-12-25 12:41:37 +00:00
Fix str concatenation on redfish spec violations
Change-Id: Iaa013e7df8538a5d3b26dfce3e70192e3b48d59e
This commit is contained in:
parent
4e166bd246
commit
20a8dc83e9
@ -533,7 +533,7 @@ class Command(object):
|
||||
msgid = ','.join(msgid)
|
||||
raise exc.RedfishError(errmsg, msgid=msgid)
|
||||
except (ValueError, KeyError):
|
||||
raise exc.PyghmiException(str(url) + ":" + res[0])
|
||||
raise exc.PyghmiException(str(url) + ":" + str(res[0]))
|
||||
if payload is None and method is None:
|
||||
self._urlcache[url] = {'contents': res[0],
|
||||
'vintage': os.times()[4]}
|
||||
|
Loading…
Reference in New Issue
Block a user