1
0
mirror of https://github.com/golang/go synced 2024-11-25 14:07:56 -07:00

lxml.etree is the wrong location for this alt package

on my linux machine this is the correct one. lxml.etree
  exists with an ElementTree class, but does not contain
  an .XML method.

R=rsc
https://golang.org/cl/163082
This commit is contained in:
Devon H. O'Dell 2009-12-02 08:18:26 -08:00 committed by Russ Cox
parent 742221d20b
commit e9a8ab031d

View File

@ -46,7 +46,7 @@ from HTMLParser import HTMLParser
try: try:
from xml.etree import ElementTree as ET from xml.etree import ElementTree as ET
except: except:
from lxml.etree import ElementTree as ET from elementtree import ElementTree as ET
try: try:
hgversion = util.version() hgversion = util.version()