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)
This commit is contained in:
parent
245c619e86
commit
af57fa13f4
|
@ -41,6 +41,7 @@ else:
|
|||
else:
|
||||
if v >= _MINIMUM_XMLPLUS_VERSION:
|
||||
import sys
|
||||
_xmlplus.__path__.extend(__path__)
|
||||
sys.modules[__name__] = _xmlplus
|
||||
else:
|
||||
del v
|
||||
|
|
Loading…
Reference in New Issue