]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/commitdiff
misc/show-tool-versions.py: ignore unimportable setuptools
authorzooko <zooko@zooko.com>
Wed, 17 Jun 2009 18:23:38 +0000 (23:53 +0530)
committerzooko <zooko@zooko.com>
Wed, 17 Jun 2009 18:23:38 +0000 (23:53 +0530)
Ignore-this: 3d19494c7ac52dea1b49702e7af1dcc7

darcs-hash:1ff58823746f263c08235d5b9685a2128741f634

misc/show-tool-versions.py

index 820eb0113b34935aabb246839d82d3824b026d68..95e84a27d749669a10df1b66c6141def38d746ab 100755 (executable)
@@ -36,5 +36,5 @@ try:
     out = str(pkg_resources.require("setuptools"))
     print
     print "setuptools:", out.replace("\n", " ")
-except EnvironmentError:
+except (ImportError, EnvironmentError):
     pass