From b913cb2f61c1229f7bf874d79718f18d7808f6e5 Mon Sep 17 00:00:00 2001 From: zooko Date: Wed, 17 Jun 2009 23:53:38 +0530 Subject: [PATCH] misc/show-tool-versions.py: ignore unimportable setuptools Ignore-this: 3d19494c7ac52dea1b49702e7af1dcc7 darcs-hash:1ff58823746f263c08235d5b9685a2128741f634 --- misc/show-tool-versions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/show-tool-versions.py b/misc/show-tool-versions.py index 820eb01..95e84a2 100755 --- a/misc/show-tool-versions.py +++ b/misc/show-tool-versions.py @@ -36,5 +36,5 @@ try: out = str(pkg_resources.require("setuptools")) print print "setuptools:", out.replace("\n", " ") -except EnvironmentError: +except (ImportError, EnvironmentError): pass -- 2.45.2