fix for None value

This commit is contained in:
msatlihan
2020-01-03 01:39:24 +03:00
parent a377f9e08f
commit 70146efc7c
+2 -2
View File
@@ -696,8 +696,8 @@ class Stage(object):
stage_text=stage_text,
)
stage.deps = dependency.loadd_from(stage, d.get(Stage.PARAM_DEPS, []))
stage.outs = output.loadd_from(stage, d.get(Stage.PARAM_OUTS, []))
stage.deps = dependency.loadd_from(stage, d.get(Stage.PARAM_DEPS) or [])
stage.outs = output.loadd_from(stage, d.get(Stage.PARAM_OUTS) or [])
return stage