fix: action.py typo in kvm_kill_action(), remove print in kvm-admin version 0.1.7.6
authorJens Kasten <jens@kasten-edv.de>
Tue, 10 Apr 2012 07:43:04 +0200
changeset 116 455b335e203d
parent 115 75c299d0bf5a
child 117 651afcecd010
fix: action.py typo in kvm_kill_action(), remove print in kvm-admin
bin/kvm-admin
kvmtools/kvm/action.py
--- a/bin/kvm-admin	Tue Apr 10 07:37:27 2012 +0200
+++ b/bin/kvm-admin	Tue Apr 10 07:43:04 2012 +0200
@@ -128,8 +128,6 @@
     
     args = parser.parse_args()
     
-    print args
-
     kvm_admin.debug = args.debug
 
     # assign the action and domain name dynamically
--- a/kvmtools/kvm/action.py	Tue Apr 10 07:37:27 2012 +0200
+++ b/kvmtools/kvm/action.py	Tue Apr 10 07:43:04 2012 +0200
@@ -143,7 +143,7 @@
             print ("Guest is not running.")
             return False
         try:    
-            os.kill(seto,lf.kvm_pid, 9)
+            os.kill(self.kvm_pid, 9)
             sleep(0.8)
             self.is_running()
             sys.exit(0)