manifest: correct default values for empty lock file

This commit is contained in:
Jörg Thalheim 2018-08-11 16:04:42 +02:00
parent 33ca3140c2
commit da82718a60

View file

@ -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: