From 20a8dc83e954cb7d69ad2345b7ac5a8fb269ea64 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 29 Aug 2024 13:39:50 -0400 Subject: [PATCH] Fix str concatenation on redfish spec violations Change-Id: Iaa013e7df8538a5d3b26dfce3e70192e3b48d59e --- pyghmi/redfish/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyghmi/redfish/command.py b/pyghmi/redfish/command.py index 7a8d732e..aa0cdd5f 100644 --- a/pyghmi/redfish/command.py +++ b/pyghmi/redfish/command.py @@ -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]}