| Current Path : /lib/python3/dist-packages/mercurial/utils/ |
| Current File : //lib/python3/dist-packages/mercurial/utils/hashutil.py |
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