diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2002-10-31 13:39:33 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2002-10-31 13:39:33 (GMT) |
commit | ccf4e421b829ce69eb62806fdd77eb71249713dd (patch) | |
tree | 0ac2b295cefbdd326b64a69c224de005dc35c432 /Lib/distutils/dist.py | |
parent | 0ae2981dec3de96a1f7d63b0535992cf1462ac92 (diff) | |
download | cpython-ccf4e421b829ce69eb62806fdd77eb71249713dd.zip cpython-ccf4e421b829ce69eb62806fdd77eb71249713dd.tar.gz cpython-ccf4e421b829ce69eb62806fdd77eb71249713dd.tar.bz2 |
Catch only ImportError
Diffstat (limited to 'Lib/distutils/dist.py')
-rw-r--r-- | Lib/distutils/dist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py index c71cb36..dbeeb8b 100644 --- a/Lib/distutils/dist.py +++ b/Lib/distutils/dist.py @@ -15,7 +15,7 @@ from copy import copy try: import warnings -except: +except ImportError: warnings = None from distutils.errors import * |