Python 3 has a sane super() implementation (no arguments), so convert to using that.

This commit is contained in:
Mike Auty
2016-08-14 00:55:02 +01:00
parent 523e159047
commit e02feed16e
18 changed files with 60 additions and 68 deletions
+1 -2
View File
@@ -26,8 +26,7 @@ class PluginInterface(configuration_interface.ConfigurableInterface, validity.Va
"""Class that defines the interface all Plugins must maintain"""
def __init__(self, context, config_path):
validity.ValidityRoutines.__init__(self)
configuration_interface.ConfigurableInterface.__init__(self, config_path)
super().__init__(config_path)
self._context = self._check_type(context, context_interface.ContextInterface)
# self.validate()