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 12:28:40 +0100 |
commit | 07c846369697b5217659f180bad8ed379b17441c (patch) | |
tree | eee67429f45cb5c81db8ea91eb82b3147ac8005f /buildstream/element.py | |
parent | 8333af2f37ba928d62f17dca22079dfb50eb948d (diff) | |
download | buildstream-07c846369697b5217659f180bad8ed379b17441c.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...")
Diffstat (limited to 'buildstream/element.py')
-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 608c6e8c0..3431af39d 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 |