mirror of
https://github.com/golang/go
synced 2024-11-25 03:57: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:
parent
742221d20b
commit
e9a8ab031d
@ -46,7 +46,7 @@ from HTMLParser import HTMLParser
|
||||
try:
|
||||
from xml.etree import ElementTree as ET
|
||||
except:
|
||||
from lxml.etree import ElementTree as ET
|
||||
from elementtree import ElementTree as ET
|
||||
|
||||
try:
|
||||
hgversion = util.version()
|
||||
|
Loading…
Reference in New Issue
Block a user