Skip to content
Snippets Groups Projects
Commit 4bf12b08 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Drop an unnecessary dictionary comprehension.

parent bc22a4c6
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ def describe_cache_file(filename):
with open(filename, "rb") as f:
data = struct.unpack(fmt, f.read(struct.calcsize(fmt)))
kwargs = {x: y for x, y in zip(fields, data)}
kwargs = dict(zip(fields, data))
kwargs["dir_name"] = read_null_terminated_string(f, kwargs["dir"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment