From 10a0da6fdf505585af603646e09beafd6357fdae Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 4 Jul 2019 12:52:53 -0400 Subject: [PATCH] Return strings only in extra details --- client-common/common.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client-common/common.py b/client-common/common.py index 5c54e763..7c1903b2 100644 --- a/client-common/common.py +++ b/client-common/common.py @@ -95,11 +95,11 @@ def getDomainMainDetails(parsed_xml): # Get long-format details # def getDomainExtraDetails(parsed_xml): - dtype = parsed_xml.os.type - darch = parsed_xml.os.type.attrib['arch'] - dmachine = parsed_xml.os.type.attrib['machine'] - dconsole = parsed_xml.devices.console.attrib['type'] - demulator = parsed_xml.devices.emulator + dtype = str(parsed_xml.os.type) + darch = str(parsed_xml.os.type.attrib['arch']) + dmachine = str(parsed_xml.os.type.attrib['machine']) + dconsole = str(parsed_xml.devices.console.attrib['type']) + demulator = str(parsed_xml.devices.emulator) return dtype, darch, dmachine, dconsole, demulator