This commit is contained in:
Jack Robison 2018-07-28 23:29:43 -04:00
parent 94a65e5d8f
commit 87a663d347
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -53,7 +53,7 @@ class RootDevice(object):
except Exception as err: except Exception as err:
log.exception("failed to decode xml") log.exception("failed to decode xml")
log.error(xml_string) log.error(xml_string)
log.info(binascii.hexlify(xml_string)) log.info(binascii.hexlify(xml_string.encode()))
root = {} root = {}
self.spec_version = root.get(SPEC_VERSION) self.spec_version = root.get(SPEC_VERSION)
self.url_base = root.get("URLBase") self.url_base = root.get("URLBase")