Rework the CLI a little to actually call the plugin, but the config system needs improving/fixing/rewriting. 5:S

This commit is contained in:
Mike Auty
2016-01-11 00:18:16 +00:00
parent 321064f387
commit cb3f42f0e9
3 changed files with 14 additions and 15 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class PluginInterface(validity.ValidityRoutines, configuration_interface.Configu
def validate_inputs(self):
for option in self.get_schema():
if not option.optional:
option.validate_input(self.config.get_value(option.name), self.context)
option.validate(self.config.get_value(option.name), self.context)
@abstractmethod
def run(self):