mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
Merge pull request #3041 from iterative/pull-3040-restyled
Restyle fix for base None value
This commit is contained in:
+4
-2
@@ -696,8 +696,10 @@ 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user