From 386e8a34c79c7298be7870b0cfa0e29ef898f597 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 21 Aug 2016 21:23:29 +0100 Subject: [PATCH] Minor clean-up. --- volatility/framework/interfaces/layers.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility/framework/interfaces/layers.py b/volatility/framework/interfaces/layers.py index b7ed85210..0b87bd968 100644 --- a/volatility/framework/interfaces/layers.py +++ b/volatility/framework/interfaces/layers.py @@ -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):