Show More
@@ -31,8 +31,8 b' def _fastsha1(s):' | |||||
31 | from hashlib import sha1 as _sha1 |
|
31 | from hashlib import sha1 as _sha1 | |
32 | except ImportError: |
|
32 | except ImportError: | |
33 | from sha import sha as _sha1 |
|
33 | from sha import sha as _sha1 | |
34 | global _fastsha1 |
|
34 | global _fastsha1, sha1 | |
35 | _fastsha1 = _sha1 |
|
35 | _fastsha1 = sha1 = _sha1 | |
36 | return _sha1(s) |
|
36 | return _sha1(s) | |
37 |
|
37 | |||
38 | import subprocess |
|
38 | import subprocess |
General Comments 0
You need to be logged in to leave comments.
Login now