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:
Mike Auty
2015-10-11 18:12:19 +01:00
parent 97ff228e76
commit 8ddf5c5b45
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class PsList(plugins.PluginInterface):
# Get the process from the thread object in kernel space
return ethread.owning_process()
def __call__(self):
def run(self):
self.validate_inputs()
eproc = self.kernel_process_from_physical_process(self.context, 'physical', 'intel', self.config.get_value('offset'))
for proc in eproc.ActiveProcessLinks: