Skip to content

Commit

Permalink
hpm: fix ComponentPropertyDescriptionString
Browse files Browse the repository at this point in the history
Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
  • Loading branch information
hthiery committed Jun 14, 2016
1 parent 78935c8 commit 6258632
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyipmi/hpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ class ComponentPropertyDescriptionString(ComponentProperty):

def _from_rsp_data(self, data):
self.description = py3dec_unic_bytes_fix(array.array('B', data).tostring())
self.description = self.description.replace('\0', '')


class ComponentPropertyRollbackVersion(ComponentProperty):
Expand Down

0 comments on commit 6258632

Please sign in to comment.