Skip to content
Myr

apply pyupgrade

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent c287f61 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/jinja2/bccache.py+1 added-1 removed
152 unmodified lines
153 """Returns the unique hash key for this template name."""154 hash = sha1(name.encode("utf-8"))155156 if filename is not None:157 hash.update(f"|{filename}".encode("utf-8"))157 hash.update(f"|{filename}".encode())158159 return hash.hexdigest()160161 def get_source_checksum(self, source: str) -> str:
203 unmodified lines