diff options
| author | Andrew M. Kuchling <amk@amk.ca> | 2002-10-31 13:39:33 +0000 |
|---|---|---|
| committer | Andrew M. Kuchling <amk@amk.ca> | 2002-10-31 13:39:33 +0000 |
| commit | ccf4e421b829ce69eb62806fdd77eb71249713dd (patch) | |
| tree | 0ac2b295cefbdd326b64a69c224de005dc35c432 /Lib/distutils/dist.py | |
| parent | 0ae2981dec3de96a1f7d63b0535992cf1462ac92 (diff) | |
| download | cpython-git-ccf4e421b829ce69eb62806fdd77eb71249713dd.tar.gz | |
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 c71cb36a94..dbeeb8b1dc 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 * |
