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 ...@@ -13,11 +13,10 @@ sax -- The Simple API for XML, developed by XML-Dev, led by David
""" """
if __name__ == "xml": try:
try: import _xmlplus
import _xmlplus except ImportError:
except ImportError: pass
pass else:
else: import sys
import sys sys.modules[__name__] = _xmlplus
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