From: zooko Date: Wed, 17 Jun 2009 18:23:38 +0000 (+0530) Subject: misc/show-tool-versions.py: ignore unimportable setuptools X-Git-Url: https://git.rkrishnan.org/pf/content/%22file:/frontends/somewhere?a=commitdiff_plain;h=b913cb2f61c1229f7bf874d79718f18d7808f6e5;p=tahoe-lafs%2Fzfec.git misc/show-tool-versions.py: ignore unimportable setuptools Ignore-this: 3d19494c7ac52dea1b49702e7af1dcc7 darcs-hash:1ff58823746f263c08235d5b9685a2128741f634 --- 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