From dff91dee9ab009fdb4d05321958b29ef34582ec4 Mon Sep 17 00:00:00 2001 From: "Devon H. O'Dell" Date: Wed, 2 Dec 2009 08:18:26 -0800 Subject: 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 http://codereview.appspot.com/163082 Committer: Russ Cox --- lib/codereview/codereview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/codereview/codereview.py') diff --git a/lib/codereview/codereview.py b/lib/codereview/codereview.py index 51f9b8ee0..41f74d2b2 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() -- cgit v1.2.3