comparison sat_frontends/jp/output_xml.py @ 2601:12bf089f0bf3

jp (output): new OUPUT_XMLUI and OUTPUT_LIST_XMLUI outputs
author Goffi <goffi@goffi.org>
date Fri, 01 Jun 2018 12:15:38 +0200
parents 26edcf3a30eb
children 56f94936df1e
comparison
equal deleted inserted replaced
2600:947c4c4c5c53 2601:12bf089f0bf3
37 RAW = u'xml_raw' 37 RAW = u'xml_raw'
38 PRETTY = u'xml_pretty' 38 PRETTY = u'xml_pretty'
39 39
40 40
41 class XML(object): 41 class XML(object):
42 """Default outputs""" 42 """Outputs for XML"""
43 43
44 def __init__(self, host): 44 def __init__(self, host):
45 self.host = host 45 self.host = host
46 host.register_output(C.OUTPUT_XML, PRETTY, self.pretty, default=True) 46 host.register_output(C.OUTPUT_XML, PRETTY, self.pretty, default=True)
47 host.register_output(C.OUTPUT_LIST_XML, PRETTY, self.pretty_list, default=True) 47 host.register_output(C.OUTPUT_LIST_XML, PRETTY, self.pretty_list, default=True)