

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

Remove the outer test for __name__; not necessary.
Remove the outer test for __name__; not necessary.

  
  
+ try:
- if __name__ == "xml":
-     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
  
Remove the outer test for __name__; not necessary.
## Code Before:


if __name__ == "xml":
    try:
        import _xmlplus
    except ImportError:
        pass
    else:
        import sys
        sys.modules[__name__] = _xmlplus

## Instruction:
Remove the outer test for __name__; not necessary.
## Code After:


try:
    import _xmlplus
except ImportError:
    pass
else:
    import sys
    sys.modules[__name__] = _xmlplus
