Fix pretty print test.
This commit is contained in:
parent
a5b0de5ed2
commit
85f488e9cb
|
@ -946,6 +946,6 @@ if __name__== "__main__":
|
|||
|
||||
print "start up path = ", c.execution_path("")
|
||||
|
||||
from xml.dom.ext import PrettyPrint
|
||||
for site_node in c.doc.getElementsByTagName("site"):
|
||||
from xml.dom.ext import PrettyPrint
|
||||
for site_node in c.doc.getElementsByTagName("site"):
|
||||
PrettyPrint(site_node, stream=sys.stdout, encoding="utf-8")
|
||||
|
|
Loading…
Reference in New Issue
Block a user