Revision 1709
Added by Aaron Marcuse-Kubitza almost 13 years ago
digir_client | ||
---|---|---|
16 | 16 |
import profiling |
17 | 17 |
import streams |
18 | 18 |
import util |
19 |
import xml_dom
|
|
19 |
import xml_parse
|
|
20 | 20 |
import xpath |
21 | 21 |
|
22 | 22 |
# Config |
... | ... | |
137 | 137 |
# Parse diagnostics |
138 | 138 |
diags_str = stream.matches[0] |
139 | 139 |
debug_log(diags_str, 'diagnostics') |
140 |
diags = xml_dom.parse_str(diags_str)
|
|
140 |
diags = xml_parse.parse_str(diags_str)
|
|
141 | 141 |
def get_diag(name): |
142 | 142 |
return xpath.get_value(diags, 'diagnostic[@code='+name+']') |
143 | 143 |
|
Also available in: Unified diff
Moved parse_str() from xml_dom.py to xml_parse.py