2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-15 04:07:48 +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:
Jarrod Johnson 2013-09-12 10:08:14 -04:00
parent bdbb6aa018
commit 317417987f

View File

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