contrib/setup3k.py
changeset 16688 cfb6682961b8
parent 15167 8df4166b6f63
child 16689 f366d4c2ff34
--- a/contrib/setup3k.py	Sat May 12 16:00:58 2012 +0200
+++ b/contrib/setup3k.py	Sat May 12 16:02:45 2012 +0200
@@ -26,22 +26,22 @@
 try:
     import hashlib
     sha = hashlib.sha1()
-except:
+except ImportError:
     try:
         import sha
-    except:
+    except ImportError:
         raise SystemExit(
             "Couldn't import standard hashlib (incomplete Python install).")
 
 try:
     import zlib
-except:
+except ImportError:
     raise SystemExit(
         "Couldn't import standard zlib (incomplete Python install).")
 
 try:
     import bz2
-except:
+except ImportError:
     raise SystemExit(
         "Couldn't import standard bz2 (incomplete Python install).")