[Python-checkins] CVS: python/dist/src/Lib/xml __init__.py,1.4,1.5
Fred L. Drake
python-dev@python.org
Thu, 3 Aug 2000 20:14:57 -0700
Update of /cvsroot/python/python/dist/src/Lib/xml
In directory slayer.i.sourceforge.net:/tmp/cvs-serv23335
Modified Files:
__init__.py
Log Message:
Remove the outer test for __name__; not necessary.
Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/xml/__init__.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** __init__.py 2000/08/01 00:05:16 1.4
--- __init__.py 2000/08/04 03:14:55 1.5
***************
*** 14,23 ****
! if __name__ == "xml":
! try:
! import _xmlplus
! except ImportError:
! pass
! else:
! import sys
! sys.modules[__name__] = _xmlplus
--- 14,22 ----
! try:
! import _xmlplus
! except ImportError:
! pass
! else:
! import sys
! sys.modules[__name__] = _xmlplus