From bd812b8f262455431280ea2f0c227d5d698d85cc Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Sat, 3 May 2008 01:30:05 +0000 Subject: [PATCH] [elghinn] Specify exception we want to catch so we see if there are others problems. --- src/common/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/helpers.py b/src/common/helpers.py index 8d33fd1cd..f6d99c149 100644 --- a/src/common/helpers.py +++ b/src/common/helpers.py @@ -46,7 +46,7 @@ try: import hashlib hash_md5 = hashlib.md5 hash_sha1 = hashlib.sha1 -except: +except ImportError: # Python 2.4 import md5 import sha