mirror of
https://opendev.org/x/pyghmi
synced 2026-01-11 02:32:31 +00:00
Fix str concatenation on redfish spec violations
Change-Id: Iaa013e7df8538a5d3b26dfce3e70192e3b48d59e
This commit is contained in:
@@ -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]}
|
||||
|
||||
Reference in New Issue
Block a user