[elghinn] Specify exception we want to catch so we see if there are others
problems.
This commit is contained in:
parent
d77b4feb9f
commit
bd812b8f26
|
@ -46,7 +46,7 @@ try:
|
||||||
import hashlib
|
import hashlib
|
||||||
hash_md5 = hashlib.md5
|
hash_md5 = hashlib.md5
|
||||||
hash_sha1 = hashlib.sha1
|
hash_sha1 = hashlib.sha1
|
||||||
except:
|
except ImportError:
|
||||||
# Python 2.4
|
# Python 2.4
|
||||||
import md5
|
import md5
|
||||||
import sha
|
import sha
|
||||||
|
|
Loading…
Reference in New Issue