diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-01-09 21:22:22 -0500 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-01-09 22:08:16 -0500 |
commit | 2c17fd2903e3e6e578c8414a18339c979129d371 (patch) | |
tree | 91c217009401d30501ae12e757084781644cd8ea /buildstream/_elementfactory.py | |
parent | f55c585e1e04d65e94da1a4d10b3349e9ae28195 (diff) | |
download | buildstream-2c17fd2903e3e6e578c8414a18339c979129d371.tar.gz |
_elementfactory.py: The Element() now takes an artifact cache
Diffstat (limited to 'buildstream/_elementfactory.py')
-rw-r--r-- | buildstream/_elementfactory.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/_elementfactory.py b/buildstream/_elementfactory.py index 2cdc54bfb..cd3c2755d 100644 --- a/buildstream/_elementfactory.py +++ b/buildstream/_elementfactory.py @@ -57,6 +57,6 @@ class ElementFactory(PluginContext): # PluginError (if the kind lookup failed) # LoadError (if the element itself took issue with the config) # - def create(self, kind, context, project, meta): + def create(self, kind, context, project, artifacts, meta): element_type = self.lookup(kind) - return element_type(context, project, meta) + return element_type(context, project, artifacts, meta) |