mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Inverse md5 bytesifying
This commit is contained in:
parent
baf254ab78
commit
86c0e6d297
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ PRE_COMMIT_LABEL = 'PRE_COMMIT'
|
||||||
|
|
||||||
|
|
||||||
def md5(s):
|
def md5(s):
|
||||||
return five.to_text(hashlib.md5(s).hexdigest())
|
return hashlib.md5(five.to_bytes(s)).hexdigest()
|
||||||
|
|
||||||
|
|
||||||
def docker_tag(repo_cmd_runner):
|
def docker_tag(repo_cmd_runner):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue