1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2026-04-24 20:56:11 +02:00

formatting

This commit is contained in:
Kelly Brazil
2023-10-23 08:01:50 -07:00
parent 46a8978740
commit 3cd2dce496
+5 -5
View File
@@ -146,13 +146,13 @@ def parse(data, raw=False, quiet=False):
# modified output with _ prefix for attributes
try:
raw_output = xmltodict.parse(data,
dict_constructor=dict,
process_comments=True,
attr_prefix='_')
dict_constructor=dict,
process_comments=True,
attr_prefix='_')
except (ValueError, TypeError):
raw_output = xmltodict.parse(data,
dict_constructor=dict,
attr_prefix='_')
dict_constructor=dict,
attr_prefix='_')
return raw_output