From c55a81b17ddd3e213915ce1a4e52f42115620e7e Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Thu, 14 Nov 2024 16:01:00 +0100 Subject: just-import-cargo: convert a default dict to normal dict --- bin/just-import-cargo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/just-import-cargo.py b/bin/just-import-cargo.py index 86d55da..e82c0c9 100755 --- a/bin/just-import-cargo.py +++ b/bin/just-import-cargo.py @@ -447,7 +447,7 @@ def compute_targets( d = defaultdict(list) d["type"] = ["@", "rules", "cargo", "feature"] d["name"] = [f] - targets[f] = d + targets[f] = dict(d) with open(targets_file, "w") as f: print(hdumps(targets), file=f) return targets -- cgit v1.2.3