mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-30 11:49:42 +02:00
Core: Fix errors found by LGTM
This commit is contained in:
@@ -279,7 +279,7 @@ class Volshell(interfaces.plugins.PluginInterface):
|
||||
self.config[path_join(plugin_config_suffix, plugin.__name__, name)] = value
|
||||
|
||||
try:
|
||||
constructed = plugins.construct_plugin(self.context, [], plugin, plugin_path, None, NullFileHandler())
|
||||
constructed = plugins.construct_plugin(self.context, [], plugin, plugin_path, None, NullFileHandler)
|
||||
return constructed.run()
|
||||
except exceptions.UnsatisfiedException as excp:
|
||||
print("Unable to validate the plugin requirements: {}\n".format([x for x in excp.unsatisfied]))
|
||||
|
||||
@@ -231,7 +231,6 @@ class DataLayerInterface(interfaces.configuration.ConfigurableInterface, metacla
|
||||
if progress_callback is not None and not callable(progress_callback):
|
||||
raise TypeError("Progress_callback is not callable")
|
||||
|
||||
scanner = scanner
|
||||
scanner.context = context
|
||||
scanner.layer_name = self.name
|
||||
|
||||
|
||||
Reference in New Issue
Block a user