Commit 742221d2 authored by Devon H. O'Dell's avatar Devon H. O'Dell Committed by Russ Cox

xml.etree can also be lxml.etree (e.g. CentOS 5.4 with Python 2.4.3)

R=rsc
CC=golang-dev
https://golang.org/cl/164053
parent 8d652ee8
......@@ -43,7 +43,10 @@ import stat
import subprocess
import threading
from HTMLParser import HTMLParser
from xml.etree import ElementTree as ET
try:
from xml.etree import ElementTree as ET
except:
from lxml.etree import ElementTree as ET
try:
hgversion = util.version()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment