From ccf4e421b829ce69eb62806fdd77eb71249713dd Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Thu, 31 Oct 2002 13:39:33 +0000 Subject: Catch only ImportError --- Lib/distutils/dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 * -- cgit v0.12