From 33ab4c91094ee9d028ca789c6c035baf79cd95b1 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 13 Jan 2016 00:24:00 +0000 Subject: [PATCH] Remove ConfigurationModifiers for now, the idea might return later, but for now it's out. --- volatility/framework/interfaces/context.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/volatility/framework/interfaces/context.py b/volatility/framework/interfaces/context.py index ade8cd207..4c31eac52 100644 --- a/volatility/framework/interfaces/context.py +++ b/volatility/framework/interfaces/context.py @@ -5,9 +5,6 @@ Created on 6 May 2013 """ from abc import ABCMeta, abstractmethod, abstractproperty -from volatility.framework import validity -from volatility.framework.interfaces import configuration - class ContextInterface(object, metaclass = ABCMeta): """All context-like objects must adhere to the following interface. @@ -50,20 +47,3 @@ class ContextInterface(object, metaclass = ABCMeta): Returns a fully constructed object """ - - -class ContextModifierInterface(validity.ValidityRoutines, configuration.Configurable, metaclass = ABCMeta): - def __init__(self, namespace): - """Initializes the context modifier - - :param namespace: Specifies the namespace for all configuration options to be specified under - :type namespace: str - """ - self.namespace = self._check_type(namespace, str) - - def config_get(self, context): - return context.config[self.namespace] - - @abstractmethod - def modify_context(self, context): - """Modifies the context in place"""