From 1c9869328922bc76aec07f477582493fb4f98f83 Mon Sep 17 00:00:00 2001 From: Muhammad Anas Date: Fri, 20 Dec 2024 10:28:18 +0500 Subject: [PATCH] fix: quality issues --- common/djangoapps/util/memcache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/djangoapps/util/memcache.py b/common/djangoapps/util/memcache.py index 00aefed0fee..98463ad1e7a 100644 --- a/common/djangoapps/util/memcache.py +++ b/common/djangoapps/util/memcache.py @@ -14,7 +14,7 @@ def fasthash(string): """ Hashes `string` into a string representation of a 128-bit digest. - """ + """ hash_obj = hashlib.new("blake2b", digest_size=16) hash_obj.update(string.encode('utf-8')) return hash_obj.hexdigest()