fix errors
authorTony Mack <tmack@cs.princeton.edu>
Tue, 22 Jan 2008 17:09:10 +0000 (17:09 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Tue, 22 Jan 2008 17:09:10 +0000 (17:09 +0000)
qaapi/qa/modules/plc/stop.py

index b85bb66..feebf12 100644 (file)
@@ -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()