incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strou...@apache.org
Subject svn commit: r1245861 - /incubator/tashi/branches/stroucki-irpbugs/src/tashi/nodemanager/vmcontrol/qemu.py
Date Sat, 18 Feb 2012 04:06:40 GMT
Author: stroucki
Date: Sat Feb 18 04:06:40 2012
New Revision: 1245861

URL: http://svn.apache.org/viewvc?rev=1245861&view=rev
Log:
qemu: Argh, really have r1236442 apply.

Modified:
    incubator/tashi/branches/stroucki-irpbugs/src/tashi/nodemanager/vmcontrol/qemu.py

Modified: incubator/tashi/branches/stroucki-irpbugs/src/tashi/nodemanager/vmcontrol/qemu.py
URL: http://svn.apache.org/viewvc/incubator/tashi/branches/stroucki-irpbugs/src/tashi/nodemanager/vmcontrol/qemu.py?rev=1245861&r1=1245860&r2=1245861&view=diff
==============================================================================
--- incubator/tashi/branches/stroucki-irpbugs/src/tashi/nodemanager/vmcontrol/qemu.py (original)
+++ incubator/tashi/branches/stroucki-irpbugs/src/tashi/nodemanager/vmcontrol/qemu.py Sat
Feb 18 04:06:40 2012
@@ -206,7 +206,7 @@ class Qemu(VmControlInterface):
 					if self.scratchVg is not None:
 						log.info("Removing any scratch for %s" % (name))
 						cmd = "/sbin/lvremove --quiet -f %s" % self.scratchVg
-    						result = subprocess.Popen(cmd.split(), executable=cmd.split()[0], stdout=subprocess.PIPE,
stderr=os.open(os.devnull, "w"), close_fds=True).wait()
+    						result = subprocess.Popen(cmd.split(), executable=cmd.split()[0], stdout=subprocess.PIPE,
stderr=open(os.devnull, "w"), close_fds=True).wait()
 				except:
 					pass
 



Mime
View raw message