Remove the outer test for __name__; not necessary.
This commit is contained in:
parent
72d421b75c
commit
5750017563
|
@ -13,11 +13,10 @@ sax -- The Simple API for XML, developed by XML-Dev, led by David
|
|||
"""
|
||||
|
||||
|
||||
if __name__ == "xml":
|
||||
try:
|
||||
import _xmlplus
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
import sys
|
||||
sys.modules[__name__] = _xmlplus
|
||||
try:
|
||||
import _xmlplus
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
import sys
|
||||
sys.modules[__name__] = _xmlplus
|
||||
|
|
Loading…
Reference in New Issue