From 5b8645bd1f329e9c61616fb0cfe3693ec5eaaa1d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 5 Apr 2019 22:56:36 +0100 Subject: [PATCH] Revert IntFlag change until we drop python 3.5 support. --- volatility/framework/plugins/windows/poolscanner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility/framework/plugins/windows/poolscanner.py b/volatility/framework/plugins/windows/poolscanner.py index 28823b335..5b5ac84dc 100644 --- a/volatility/framework/plugins/windows/poolscanner.py +++ b/volatility/framework/plugins/windows/poolscanner.py @@ -35,7 +35,8 @@ from volatility.framework.symbols.windows import extensions vollog = logging.getLogger(__name__) -class PoolType(enum.IntFlag): +# TODO: When python3.5 is no longer supported, make this enum.IntFlag +class PoolType(enum.IntEnum): """Class to maintain the different possible PoolTypes The values must be integer powers of 2"""