mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-08 02:37:39 +02:00
Remove the plugin __call__ method for properly named run method.
Calls methods are handy, but ugly if you create and then call the object immediately ( for example, thing()() ).
This commit is contained in:
@@ -52,7 +52,7 @@ class PluginInterface(validity.ValidityRoutines, metaclass = ABCMeta):
|
||||
option.validate_input(self.config.get_value(option.name), self.context)
|
||||
|
||||
@abstractmethod
|
||||
def __call__(self):
|
||||
def run(self):
|
||||
"""Executes the functionality of the code
|
||||
|
||||
@:param
|
||||
|
||||
Reference in New Issue
Block a user