From 1f0888cf19d725e7e91b39fd8674849fcb54ee70 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 28 Nov 2018 16:24:00 +0000 Subject: [PATCH] Remove the functools.wraps because we don't strictly wrap, just proxy. --- volatility/framework/__init__.py | 2 +- volatility/framework/contexts/__init__.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility/framework/__init__.py b/volatility/framework/__init__.py index 6e93fb9bb..caa7111e2 100644 --- a/volatility/framework/__init__.py +++ b/volatility/framework/__init__.py @@ -84,7 +84,7 @@ def class_subclasses(cls: T) -> typing.Generator[T, None, None]: def import_files(base_module, ignore_errors = False) -> typing.List[str]: - """Imports all plugins present under plugins path""" + """Imports all plugins present under plugins module namespace""" failures = [] if not isinstance(base_module.__path__, list): raise TypeError("[base_module].__path__ must be a list of paths") diff --git a/volatility/framework/contexts/__init__.py b/volatility/framework/contexts/__init__.py index 909380e4b..bfa05e6b0 100644 --- a/volatility/framework/contexts/__init__.py +++ b/volatility/framework/contexts/__init__.py @@ -128,7 +128,6 @@ class Context(interfaces.context.ContextInterface): def get_module_wrapper(method: str) -> typing.Callable: """Returns a symbol using the symbol_table_name of the Module""" - @functools.wraps def wrapper(self, name: str) -> typing.Callable: self._check_type(name, str) if constants.BANG in name: