From da82718a60bc56c4eedb2130e5c316dadfa378a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 11 Aug 2018 16:04:42 +0200 Subject: [PATCH] manifest: correct default values for empty lock file --- nur/manifest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nur/manifest.py b/nur/manifest.py index 3eaad8e5e..45ffc03f0 100644 --- a/nur/manifest.py +++ b/nur/manifest.py @@ -110,7 +110,7 @@ def load_locked_versions(path: Path) -> Dict[str, LockedVersion]: if path.exists(): return _load_locked_versions(path) else: - return {} + return dict(repos={}) def load_manifest(manifest_path: PathType, lock_path: PathType) -> Manifest: