From 59b9645b04b25b07d155265950b6ff38e8a516ec Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 16 Aug 2017 21:34:37 +0100 Subject: [PATCH] Import linux so we don't need to subimport it everywhere we need to use it. --- volatility/framework/constants/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility/framework/constants/__init__.py b/volatility/framework/constants/__init__.py index b908a4a37..b03e11dba 100644 --- a/volatility/framework/constants/__init__.py +++ b/volatility/framework/constants/__init__.py @@ -3,10 +3,9 @@ Stores all the constant values that are generally fixed throughout volatility This includes default scanning block sizes, etc.""" import os.path - import sys -__all__ = ["linux", "windows"] +import volatility.framework.constants.linux PLUGINS_PATH = [os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "plugins")), os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "plugins"))]