Catch only ImportError

This commit is contained in:
Andrew M. Kuchling 2002-10-31 13:39:33 +00:00
parent 0ae2981dec
commit ccf4e421b8
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ from copy import copy
try:
import warnings
except:
except ImportError:
warnings = None
from distutils.errors import *