mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-13 13:17:38 +02:00
Remove the functools.wraps because we don't strictly wrap, just proxy.
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user