From af57fa13f449c66971ef064abb9ec190405a6f9a Mon Sep 17 00:00:00 2001 From: Fredrik Lundh Date: Mon, 12 Dec 2005 21:59:52 +0000 Subject: r1077@spiff: Fredrik | 2005-12-12 22:58:44 +0100 make sure xml.etree can be used even if PyXML is present (solution proposed by Philip J. Eby) --- Lib/xml/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/xml/__init__.py b/Lib/xml/__init__.py index dc82f74..fa5e8cd 100644 --- a/Lib/xml/__init__.py +++ b/Lib/xml/__init__.py @@ -41,6 +41,7 @@ else: else: if v >= _MINIMUM_XMLPLUS_VERSION: import sys + _xmlplus.__path__.extend(__path__) sys.modules[__name__] = _xmlplus else: del v -- cgit v0.12