Remove the outer test for __name__; not necessary.

This commit is contained in:
Fred Drake 2000-08-04 03:14:55 +00:00
parent 72d421b75c
commit 5750017563
1 changed files with 7 additions and 8 deletions

View File

@ -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