Skip to content

Commit 966f380

Browse files
committed
fix missing depmods with empty yaml
1 parent 19464f2 commit 966f380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vinca/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def read_vinca_yaml(filepath):
185185

186186
if (patch_dir / "dependencies.yaml").exists():
187187
vinca_conf["depmods"] = yaml.load(open(patch_dir / "dependencies.yaml"))
188-
else:
188+
if not vinca_conf.get("depmods"):
189189
vinca_conf["depmods"] = {}
190190

191191
config.ros_distro = vinca_conf["ros_distro"]

0 commit comments

Comments
 (0)