2
0
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:
Jarrod Johnson 2024-08-29 13:39:50 -04:00
parent 4e166bd246
commit 20a8dc83e9

View File

@ -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]}