diff -r 87cfa131b535 -r e7e0ae78773e configurationengine/source/plugins/example/ConeExamplePlugin/examplemlplugin/exampleml_impl.py --- a/configurationengine/source/plugins/example/ConeExamplePlugin/examplemlplugin/exampleml_impl.py Fri Mar 12 08:30:17 2010 +0200 +++ b/configurationengine/source/plugins/example/ConeExamplePlugin/examplemlplugin/exampleml_impl.py Tue Aug 10 14:29:28 2010 +0300 @@ -39,7 +39,7 @@ def generate(self, context=None): for output in self.output_objects: self.logger.debug("Generating '%s'" % output.get_output_file(self.output, self.configuration)) - output.write_to_file(self.output, self.configuration) + output.write_to_file(self.output, context) def list_output_files(self): files = [] @@ -51,4 +51,8 @@ refs = [] for output in self.output_objects: refs.extend(output.get_refs()) + # return None in case there are no refs in the implementations + # to prevent filtering based on refs + if not refs: + refs = None return refs