Minor clean-up.

This commit is contained in:
Mike Auty
2016-08-21 21:23:29 +01:00
parent e173c7c080
commit 386e8a34c7
+1 -2
View File
@@ -69,8 +69,7 @@ class DataLayerInterface(configuration.ConfigurableInterface, validity.ValidityR
def __init__(self, context, config_path, name):
super().__init__(context, config_path)
self._check_type(name, str)
self._name = name
self._name = self._check_type(name, str)
@property
def name(self):