提交 3ac385f3 编写于 作者: P Praveen K Pandey

in avocado:core:sysinfo add __init__ constructor

Add __init__ constructor that can be hold instance variable
Signed-off-by: NPraveen K Pandey <praveen@linux.vnet.ibm.com>
上级 0a0ba73c
......@@ -187,6 +187,9 @@ class Daemon(Command):
:param compress_log: Whether to compress the output of the command.
"""
def __init__(self, *args, **kwargs):
super(Daemon, self).__init__(*args, **kwargs)
def run(self, logdir):
"""
Execute the daemon as a subprocess and log its output in logdir.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册