[Python-checkins] python/dist/src/Lib/distutils dist.py,1.57,1.58

akuchling@users.sourceforge.net akuchling@users.sourceforge.net
Thu, 31 Oct 2002 05:39:36 -0800


Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory usw-pr-cvs1:/tmp/cvs-serv20105

Modified Files:
	dist.py 
Log Message:
Catch only ImportError

Index: dist.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/dist.py,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** dist.py	31 Oct 2002 13:22:41 -0000	1.57
--- dist.py	31 Oct 2002 13:39:33 -0000	1.58
***************
*** 16,20 ****
  try:
      import warnings
! except:
      warnings = None
  
--- 16,20 ----
  try:
      import warnings
! except ImportError:
      warnings = None