jp (outputs): new xml and list_xml outputs, handling pretty formatting and syntax highlighting
This commit is contained in:
parent
4d96b85178
commit
6fd7bd5313
1 changed files with 84 additions and 1 deletions
|
|
@ -29,7 +29,9 @@ class Const(constants.Const):
|
|||
OUTPUT_DICT = u'dict' # simple key/value dictionary
|
||||
OUTPUT_LIST = u'list'
|
||||
OUTPUT_COMPLEX = u'complex' # complex data (e.g. multi-level dictionary)
|
||||
OUTPUT_TYPES = (OUTPUT_TEXT, OUTPUT_DICT, OUTPUT_LIST, OUTPUT_COMPLEX)
|
||||
OUTPUT_XML = u'xml' # XML node (as unicode string)
|
||||
OUTPUT_LIST_XML = u'list_xml' # list of XML nodes (as unicode strings)
|
||||
OUTPUT_TYPES = (OUTPUT_TEXT, OUTPUT_DICT, OUTPUT_LIST, OUTPUT_COMPLEX, OUTPUT_XML, OUTPUT_LIST_XML)
|
||||
|
||||
# exit codes
|
||||
EXIT_OK = 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue