diff options
Diffstat (limited to 'src/buildstream/element.py')
-rw-r--r-- | src/buildstream/element.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py index 65b87e631..86d394ffe 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -1025,23 +1025,12 @@ class Element(Plugin): redundant_ref = source._load_ref() - if meta_source.kind == 'workspace': - _workspace_source = source - continue - element.__sources.append(source) # Collect redundant refs which occurred at load time if redundant_ref is not None: cls.__redundant_source_refs.append((source, redundant_ref)) - # workspace handling: if the metasources included a workspace source, then - # this should replace the element.__sources and should in turn own those sources - # directly - if _workspace_source is not None: - _workspace_source.set_element_sources(element.__sources) - element.__sources = [_workspace_source] - # Instantiate dependencies for meta_dep in meta.dependencies: dependency = Element._new_from_meta(meta_dep, task) |