##// END OF EJS Templates
rust-changelog: switch away from deprecated APIs for datetime use...
rust-changelog: switch away from deprecated APIs for datetime use This was caught by clippy, nothing was changed aside from some light API changes.

File last commit:

r52755:607e94e0 default
r53061:6b7ffa3f 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