summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/just-lock.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/just-lock.py b/bin/just-lock.py
index 93e9e6a4..1db21f68 100755
--- a/bin/just-lock.py
+++ b/bin/just-lock.py
@@ -947,9 +947,11 @@ def lock_config(input_file: str) -> Json:
(json.dumps(source, indent=2), ))
if source == "git":
- core_config["repositories"] = import_from_git(repositories, entry)
+ core_config["repositories"] = import_from_git(
+ core_config["repositories"], entry)
elif source == "file":
- core_config["repositories"] = import_from_file(repositories, entry)
+ core_config["repositories"] = import_from_file(
+ core_config["repositories"], entry)
elif source == "archive":
# TODO(psarbu): Implement source "archive"
warn("Import from source \"archive\" not yet implemented!")