##// END OF EJS Templates
config: return component from `repo_components`...
config: return component from `repo_components` We used to returns just paths. However using the same return types as `rccomponents` will be quite useful later in this series.

File last commit:

r52756:f4733654 default
r53321:e3b45916 default
Show More
hashutil.py
10 lines | 211 B | text/x-python | PythonLexer
from __future__ import annotations
import hashlib
try:
from ..thirdparty import sha1dc # pytype: disable=import-error
sha1 = sha1dc.sha1
except (ImportError, AttributeError):
sha1 = hashlib.sha1