mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-30 19:59:46 +02:00
Minor fix for construct_layers.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user