##// END OF EJS Templates
merge with default
merge with default

File last commit:

r47543:521ac0d7 stable
r49521:a44bb185 merge 6.0rc0 stable
Show More
hashutil.py
10 lines | 215 B | text/x-python | PythonLexer
from __future__ import absolute_import
import hashlib
try:
from ..thirdparty import sha1dc # pytype: disable=import-error
sha1 = sha1dc.sha1
except (ImportError, AttributeError):
sha1 = hashlib.sha1