From e9a8ab031d82df6e84bc58cdca272a672a31ce8e Mon Sep 17 00:00:00 2001 From: "Devon H. O'Dell" Date: Wed, 2 Dec 2009 08:18:26 -0800 Subject: [PATCH] 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 --- lib/codereview/codereview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/codereview/codereview.py b/lib/codereview/codereview.py index 51f9b8ee08..41f74d2b2e 100644 --- a/lib/codereview/codereview.py +++ b/lib/codereview/codereview.py @@ -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() -- 2.50.0