diff --git a/volatility/cli/volshell/__init__.py b/volatility/cli/volshell/__init__.py index cd669f028..ca502eeda 100644 --- a/volatility/cli/volshell/__init__.py +++ b/volatility/cli/volshell/__init__.py @@ -12,7 +12,6 @@ from urllib import request import volatility.plugins import volatility.symbols from volatility import cli, framework -from volatility.cli import text_renderer from volatility.cli.volshell import generic, windows, linux, mac from volatility.framework import automagic, constants, contexts, exceptions, interfaces, plugins diff --git a/volatility/framework/automagic/construct_layers.py b/volatility/framework/automagic/construct_layers.py index 2d36fa0a0..9b980aafa 100644 --- a/volatility/framework/automagic/construct_layers.py +++ b/volatility/framework/automagic/construct_layers.py @@ -39,7 +39,7 @@ class ConstructionMagic(interfaces.automagic.AutomagicInterface): subreq_config_path = interfaces.configuration.path_join(config_path, requirement.name) for subreq in requirement.requirements.values(): try: - self(context, subreq_config_path, subreq, optional or subreq.optional) + self(context, subreq_config_path, subreq, optional = optional or subreq.optional) except Exception as e: # We don't really care if this fails, it tends to mean the configuration isn't complete for that item vollog.log(constants.LOGLEVEL_VVVV, "Construction Exception occurred: {}".format(e))