##// END OF EJS Templates
interfaces: convert `ilocalrepositorymain` from zope `Attribute` attrs...
interfaces: convert `ilocalrepositorymain` from zope `Attribute` attrs This is the same transformation as b455dfddfed0 did for dirstate. This is also the last of the `interfaceutil.Attribute` style attributes.

File last commit:

r52756:f4733654 default
r53382:dfb60fb1 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