commit | af57fa13f449c66971ef064abb9ec190405a6f9a | [log] [tgz] |
---|---|---|
author | Fredrik Lundh <fredrik@pythonware.com> | Mon Dec 12 21:59:52 2005 +0000 |
committer | Fredrik Lundh <fredrik@pythonware.com> | Mon Dec 12 21:59:52 2005 +0000 |
tree | bf1d3e5a4149154cf2e0e25838d221563e0b4fd6 | |
parent | 245c619e86a47fd1f179c61c0899135ccf29cf78 [diff] |
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)
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: if v >= _MINIMUM_XMLPLUS_VERSION: import sys + _xmlplus.__path__.extend(__path__) sys.modules[__name__] = _xmlplus else: del v