commit | ccf4e421b829ce69eb62806fdd77eb71249713dd | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Thu Oct 31 13:39:33 2002 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Thu Oct 31 13:39:33 2002 +0000 |
tree | 0ac2b295cefbdd326b64a69c224de005dc35c432 | |
parent | 0ae2981dec3de96a1f7d63b0535992cf1462ac92 [diff] [blame] |
Catch only ImportError
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 @@ try: import warnings -except: +except ImportError: warnings = None from distutils.errors import *