Commit 58d131e8 authored by Fred Drake's avatar Fred Drake

Remove the outer test for __name__; not necessary.

parent 369ac88c
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment