Rename ProcessManager.__init__() arguments to be more specific

This commit is contained in:
Kristóf Tóth 2018-02-20 16:29:19 +01:00
parent 8d8b60d143
commit 69c998bfde

View File

@ -3,8 +3,8 @@ from tfw.components.mixins import SupervisorMixin
class ProcessManager(SupervisorMixin):
def __init__(self, process_name):
self.process = process_name
def __init__(self, supervisor_process_name):
self.process = supervisor_process_name
self.commands = {'start': self.start_process,
'stop': self.stop_process,
'restart': self.restart_process}