Mercurial > hg
view mercurial/utils/hashutil.py @ 44564:529cb23155bc
tests: make test-doctest.t module list match reality
Differential Revision: https://phab.mercurial-scm.org/D8280
author | Kyle Lippincott <spectral@google.com> |
---|---|
date | Fri, 13 Mar 2020 19:25:37 -0700 |
parents | 7126d8b8e0e6 |
children | 521ac0d7047f |
line wrap: on
line source
from __future__ import absolute_import import hashlib try: from ..thirdparty import sha1dc sha1 = sha1dc.sha1 except (ImportError, AttributeError): sha1 = hashlib.sha1