mirror of
https://github.com/golang/go.git
synced 2025-11-07 12:11:00 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue