2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-27 19:37:44 +00:00

Merge "Fix string formatting"

This commit is contained in:
Zuul 2019-02-26 15:47:41 +00:00 committed by Gerrit Code Review
commit 7a195ddc2e

View File

@ -1523,7 +1523,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