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
@@ -68,8 +68,7 @@ class DataLayerInterface(configuration.ConfigurableInterface, validity.ValidityR
provides = {"type": "interface"}
def __init__(self, context, config_path, name):
configuration.ConfigurableInterface.__init__(self, config_path)
validity.ValidityRoutines.__init__(self)
super().__init__(config_path)
self._context = context
self._check_type(name, str)
self._name = name