Fix pretty print test.

This commit is contained in:
Eratosthenes 2009-11-11 16:25:31 -05:00
parent a5b0de5ed2
commit 85f488e9cb

View File

@ -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")