From 52b197bd3fc76b439fe924d1ca4eefea9ce90626 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 22 Jan 2008 17:09:10 +0000 Subject: [PATCH] fix errors --- qaapi/qa/modules/plc/stop.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qaapi/qa/modules/plc/stop.py b/qaapi/qa/modules/plc/stop.py index b85bb66..feebf12 100644 --- a/qaapi/qa/modules/plc/stop.py +++ b/qaapi/qa/modules/plc/stop.py @@ -9,15 +9,15 @@ class stop(Test): """ def call(self, system_type, root_dir): - - stop command = " /sbin/service plc stop " + + stop_command = " /sbin/service plc stop " full_command = "" if system_type in ['vserv', 'vserver']: full_command += " vserver %(root_dir)s exec " elif system_type in ['chroot']: pass else: - raise Exception, "Invalid system type %(system_type)s" locals() + raise Exception, "Invalid system type %(system_type)s" % locals() full_command += stop_command % locals() -- 2.47.0