##// END OF EJS Templates
run-tests: add option for running with and without Rust extensions...
run-tests: add option for running with and without Rust extensions This provide a simple and clear way to run the test with or without rust.

File last commit:

r44516:7126d8b8 default
r44973:9183b7dc default
Show More
hashutil.py
10 lines | 183 B | text/x-python | PythonLexer
from __future__ import absolute_import
import hashlib
try:
from ..thirdparty import sha1dc
sha1 = sha1dc.sha1
except (ImportError, AttributeError):
sha1 = hashlib.sha1