]> granicus.if.org Git - python/commitdiff
r1077@spiff: Fredrik | 2005-12-12 22:58:44 +0100
authorFredrik Lundh <fredrik@pythonware.com>
Mon, 12 Dec 2005 21:59:52 +0000 (21:59 +0000)
committerFredrik Lundh <fredrik@pythonware.com>
Mon, 12 Dec 2005 21:59:52 +0000 (21:59 +0000)
 make sure xml.etree can be used even if PyXML is present
 (solution proposed by Philip J. Eby)

Lib/xml/__init__.py

index dc82f74ce1080b52697375cfd54751be37dec05e..fa5e8cd499937d9b2c906ad5682aca4636770f3f 100644 (file)
@@ -41,6 +41,7 @@ else:
     else:
         if v >= _MINIMUM_XMLPLUS_VERSION:
             import sys
+            _xmlplus.__path__.extend(__path__)
             sys.modules[__name__] = _xmlplus
         else:
             del v