[Lldb-commits] [lldb] r259724 - Fix missing module qualification of subprocess.PIPE.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 3 14:53:18 PST 2016


Author: zturner
Date: Wed Feb  3 16:53:18 2016
New Revision: 259724

URL: http://llvm.org/viewvc/llvm-project?rev=259724&view=rev
Log:
Fix missing module qualification of subprocess.PIPE.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/lldbplatformutil.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbplatformutil.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbplatformutil.py?rev=259724&r1=259723&r2=259724&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lldbplatformutil.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lldbplatformutil.py Wed Feb  3 16:53:18 2016
@@ -35,7 +35,7 @@ def _run_adb_command(cmd, device_id):
     if device_id:
         device_id_args = ["-s", device_id]
     full_cmd = ["adb"] + device_id_args + cmd
-    p = subprocess.Popen(full_cmd, stdout=PIPE, stderr=PIPE)
+    p = subprocess.Popen(full_cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
     stdout, stderr = p.communicate()
     return p.returncode, stdout, stderr
 




More information about the lldb-commits mailing list