Return strings only in extra details
This commit is contained in:
parent
338af97a7a
commit
10a0da6fdf
|
@ -95,11 +95,11 @@ def getDomainMainDetails(parsed_xml):
|
||||||
# Get long-format details
|
# Get long-format details
|
||||||
#
|
#
|
||||||
def getDomainExtraDetails(parsed_xml):
|
def getDomainExtraDetails(parsed_xml):
|
||||||
dtype = parsed_xml.os.type
|
dtype = str(parsed_xml.os.type)
|
||||||
darch = parsed_xml.os.type.attrib['arch']
|
darch = str(parsed_xml.os.type.attrib['arch'])
|
||||||
dmachine = parsed_xml.os.type.attrib['machine']
|
dmachine = str(parsed_xml.os.type.attrib['machine'])
|
||||||
dconsole = parsed_xml.devices.console.attrib['type']
|
dconsole = str(parsed_xml.devices.console.attrib['type'])
|
||||||
demulator = parsed_xml.devices.emulator
|
demulator = str(parsed_xml.devices.emulator)
|
||||||
|
|
||||||
return dtype, darch, dmachine, dconsole, demulator
|
return dtype, darch, dmachine, dconsole, demulator
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue