diff options
author | Abderrahim Kitouni <a.kitouni@gmail.com> | 2018-02-07 10:35:55 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2018-02-07 10:41:38 +0100 |
commit | ca042895a9575210a5c65eed80159229977fe872 (patch) | |
tree | 700ec97ccfb94a336b063502e13698bd583f365f | |
parent | 34a60189be63dc86d333ca895ce44bd24adb43c3 (diff) | |
download | buildstream-ca042895a9575210a5c65eed80159229977fe872.tar.gz |
element.py: Fix staging of runtime dependencies with overlaps
This fixes `bst shell` crashes in the presence of overlaps.
Fixes #225
Fixes: 2aa233da ("element: Handle overlaps with a whitelist and...")
-rw-r--r-- | buildstream/element.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index afcfcee95..a582d6912 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -482,7 +482,7 @@ class Element(Plugin): # The bottom item overlaps nothing overlapping_elements = elements[1:] for elm in overlapping_elements: - element = self.search(Scope.BUILD, elm) + element = self.search(scope, elm) element_project = element._get_project() if not element.__file_is_whitelisted(f): forbidden_overlap = True |