From cc38e00538c2000400692478b205716d93b3899e Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 18 Jan 2008 17:55:23 +0000 Subject: [PATCH] change param name to 'root_dir' --- qaapi/qa/modules/plc/start.py | 4 ++-- qaapi/qa/modules/plc/stop.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qaapi/qa/modules/plc/start.py b/qaapi/qa/modules/plc/start.py index 624c00e..51e1533 100644 --- a/qaapi/qa/modules/plc/start.py +++ b/qaapi/qa/modules/plc/start.py @@ -8,13 +8,13 @@ class start(Test): Starts the myplc service """ - def call(self, system_type, vserver_or_root_dir_name): + def call(self, system_type, root_dir): start_command = " /sbin/service plc start " full_command = "" if system_type in ['vserv', 'vserver']: - full_command += " vserver %(vserver_or_root_dir_name)s exec " + full_command += " vserver %(root_dir)s exec " elif system_type in ['chroot']: pass else: diff --git a/qaapi/qa/modules/plc/stop.py b/qaapi/qa/modules/plc/stop.py index 990cbe9..9b3b277 100644 --- a/qaapi/qa/modules/plc/stop.py +++ b/qaapi/qa/modules/plc/stop.py @@ -8,12 +8,12 @@ class stop(Test): Installs a myplc """ - def call(self, system_type, vserver_or_root_dir_name): + def call(self, system_type, root_dir): stop command = " /sbin/service plc stop " full_command = "" if system_type in ['vserv', 'vserver']: - full_command += " vserver %(vserver_or_root_dir_name)s exec " + full_command += " vserver %(root_dir)s exec " elif system_type in ['chroot']: pass else: -- 2.47.0