From 4c9c6a5145848241d73327770558ed3f9392e7da Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 23 Dec 2024 16:38:12 +0000 Subject: [PATCH] Linux: Remove features only availble in python 3.12 --- volatility3/framework/symbols/linux/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index d0d1c0a46..2c4186510 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -84,8 +84,6 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): def deprecation_warning(method): """Warning to prevent people using old methods""" - _warn_skips = (os.path.dirname(__file__),) - @functools.wraps(method) def deprecated_method(*args, **kwargs): warnings.warn( @@ -93,7 +91,6 @@ def deprecation_warning(method): f"{'LinuxUtilities.' + method.__name__}, please report a bug to the plugin author asking them to use {method.__qualname__}", FutureWarning, stacklevel=2, - skip_file_prefixes=_warn_skips, ) return method(*args, **kwargs)