added deployment information back into session-deployed.xml

This commit is contained in:
Blake J. Harnden 2018-08-21 14:26:59 -07:00
parent 991abb1895
commit 4649563664
4 changed files with 165 additions and 7 deletions

View file

@ -7,7 +7,6 @@ import os.path
from core.enumerations import NodeTypes
from core.misc import nodeutils
from core.xml import corexml
from core.xml.xmlparser import core_document_parser
from core.xml.xmlwriter import core_document_writer
@ -33,4 +32,5 @@ def save_session_xml(session, filename, version):
"""
Export a session to the EmulationScript XML format.
"""
corexml.CoreXmlWriter(session).write(filename)
doc = core_document_writer(session, version)
doc.writexml(filename)