Skip to content

Commit c617d48

Browse files
committed
Add a comment about USING_LXML
1 parent 42401d9 commit c617d48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flattentool/xml_output.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
try:
22
import lxml.etree as ET
3+
# If we're using lxml we have to do some extra work to support namespaces,
4+
# so we have a variable to check whether we're using lxml:
35
USING_LXML = True
46
except ImportError:
57
import xml.etree.ElementTree as ET

0 commit comments

Comments
 (0)