From: Tony Mack Date: Tue, 22 Jan 2008 17:09:10 +0000 (+0000) Subject: fix errors X-Git-Tag: 2008-02-11-last-vmware-support~125 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=52b197bd3fc76b439fe924d1ca4eefea9ce90626;p=tests.git fix errors --- 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()