mirror of
https://opendev.org/x/pyghmi
synced 2026-05-13 09:54:20 +00:00
Fix string formatting
Error string was incorrectly trying to use '+' to add number into the message. Fix by using format Change-Id: Iedc83383ffa4770b28538895369c9b3d58bb5bad
This commit is contained in:
@@ -1519,7 +1519,7 @@ class XCCClient(IMMClient):
|
||||
if not firmtype:
|
||||
raise Exception('Unknown firmware description returned: ' + repr(
|
||||
rsp['items'][0]) + ' last verify return was: ' + repr(
|
||||
verifyuploadfilersp) + ' with code ' + status)
|
||||
verifyuploadfilersp) + ' with code {0}'.format(status))
|
||||
if firmtype not in (
|
||||
'TDM', 'WINDOWS DRIV', 'LINUX DRIVER', 'UEFI', 'IMM'):
|
||||
# adapter firmware
|
||||
|
||||
Reference in New Issue
Block a user