[elghinn] Specify exception we want to catch so we see if there are others

problems.
This commit is contained in:
Jean-Marie Traissard 2008-05-03 01:30:05 +00:00
parent d77b4feb9f
commit bd812b8f26
1 changed files with 1 additions and 1 deletions

View File

@ -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