--- 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).")