Change in vdsm[master]: utils: Change cpopen import

dkuznets at redhat.com dkuznets at redhat.com
Sat Mar 29 08:41:15 UTC 2014


Dima Kuznetsov has uploaded a new change for review.

Change subject: utils: Change cpopen import
......................................................................

utils: Change cpopen import

Change cpopen import so utils wouldn't  use a local copy of CPopen.

Change-Id: I128940e76da926e10731552c764539e62a3484b5
Signed-off-by: Dima Kuznetsov <dkuznets at redhat.com>
---
M lib/vdsm/utils.py
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/04/26204/1

diff --git a/lib/vdsm/utils.py b/lib/vdsm/utils.py
index b682dec..ac2f1e2 100644
--- a/lib/vdsm/utils.py
+++ b/lib/vdsm/utils.py
@@ -33,6 +33,7 @@
 from StringIO import StringIO
 from weakref import proxy
 import SocketServer
+import cpopen
 import errno
 import fcntl
 import functools
@@ -54,7 +55,6 @@
 import time
 import zombiereaper
 
-from cpopen import CPopen
 from .config import config
 from . import constants
 
@@ -678,8 +678,8 @@
     cmdline = repr(subprocess.list2cmdline(printable))
     execCmdLogger.debug("%s (cwd %s)", cmdline, cwd)
 
-    p = CPopen(command, close_fds=True, cwd=cwd, env=env,
-               deathSignal=deathSignal, childUmask=childUmask)
+    p = cpopen.CPopen(command, close_fds=True, cwd=cwd, env=env,
+                      deathSignal=deathSignal, childUmask=childUmask)
     p = AsyncProc(p)
     if not sync:
         if data is not None:


-- 
To view, visit http://gerrit.ovirt.org/26204
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I128940e76da926e10731552c764539e62a3484b5
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dima Kuznetsov <dkuznets at redhat.com>


More information about the vdsm-patches mailing list