You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tashi-commits@incubator.apache.org by st...@apache.org on 2012/02/18 04:06:40 UTC
svn commit: r1245861 -
/incubator/tashi/branches/stroucki-irpbugs/src/tashi/nodemanager/vmcontrol/qemu.py
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