mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 21:41:32 +00:00
Rename ProcessManager.__init__() arguments to be more specific
This commit is contained in:
parent
8d8b60d143
commit
69c998bfde
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user