diff options
Diffstat (limited to 'src/buildstream/plugins/elements/junction.py')
-rw-r--r-- | src/buildstream/plugins/elements/junction.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/plugins/elements/junction.py b/src/buildstream/plugins/elements/junction.py index d30e34828..b21ef0777 100644 --- a/src/buildstream/plugins/elements/junction.py +++ b/src/buildstream/plugins/elements/junction.py @@ -188,7 +188,7 @@ class JunctionElement(Element): # 3. config['path'] if self.target and any(self.sources()): raise ElementError("junction elements cannot define both 'sources' and 'target' config option") - if self.target and any(self.node_items(self.options)): + if self.target and any(self.options.items()): raise ElementError("junction elements cannot define both 'options' and 'target'") if self.target and self.path: raise ElementError("junction elements cannot define both 'path' and 'target'") |