summaryrefslogtreecommitdiff
path: root/src/buildstream/_cachekey.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_cachekey.py')
-rw-r--r--src/buildstream/_cachekey.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/buildstream/_cachekey.py b/src/buildstream/_cachekey.py
index 8c6382bd5..dd9207516 100644
--- a/src/buildstream/_cachekey.py
+++ b/src/buildstream/_cachekey.py
@@ -62,7 +62,5 @@ def is_key(key):
# (str): An sha256 hex digest of the given value
#
def generate_key(value):
- ustring = ujson.dumps(value, sort_keys=True, escape_forward_slashes=False).encode(
- "utf-8"
- )
+ ustring = ujson.dumps(value, sort_keys=True, escape_forward_slashes=False).encode("utf-8")
return hashlib.sha256(ustring).hexdigest()