Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: subprocess2.py

Issue 8539015: Add most of testing improvements without the tee-specific tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/subprocess2_test.py » ('j') | tests/subprocess2_test.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: subprocess2.py
diff --git a/subprocess2.py b/subprocess2.py
index 4708aadf362ee347cf3d6528acc3c9007c917208..afe5c75c17122b289c1a36acf1c8ddeeb3d28ca3 100644
--- a/subprocess2.py
+++ b/subprocess2.py
@@ -246,7 +246,7 @@ def communicate(args, timeout=None, **kwargs):
time.sleep(0.001)
# Now that the process died, reset the cursor and read the file.
buff.seek(0)
- out = [buff.read(), None]
+ out = (buff.read(), None)
return out, proc.returncode
« no previous file with comments | « no previous file | tests/subprocess2_test.py » ('j') | tests/subprocess2_test.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698