mirror of
https://opendev.org/x/pyghmi
synced 2025-01-15 12:17:44 +00:00
Correct concatenation of string and int object
Straightforward change, a mistake was made with a string and an int was concatenated. Change-Id: I96de0f32b387e524c90d42acb5dcf6c808448b14
This commit is contained in:
parent
bdbb6aa018
commit
317417987f
@ -104,7 +104,7 @@ def get_ipmi_error(response, suffix=""):
|
||||
elif code in constants.ipmi_completion_codes:
|
||||
res = constants.ipmi_completion_codes[code] + suffix
|
||||
else:
|
||||
res = "Unknown code " + code + " encountered"
|
||||
res = "Unknown code 0x%2x encountered" % code
|
||||
return res
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user