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

Unified Diff: gclient_scm.py

Issue 3126020: Remove code duplication and improve style. (Closed)
Patch Set: Created 10 years, 4 months 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 | « gcl.py ('k') | gclient_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient_scm.py
diff --git a/gclient_scm.py b/gclient_scm.py
index 93249ffff54277e5ca29c3e2bd88fce4dfbda883..fd135e2fec7996b0ede4a1aa6cae27352fefc8f2 100644
--- a/gclient_scm.py
+++ b/gclient_scm.py
@@ -653,7 +653,7 @@ class GitWrapper(SCMWrapper):
cmd.extend(args)
logging.debug(cmd)
try:
- sp = subprocess.Popen(cmd, cwd=cwd, stdout=stdout)
+ sp = gclient_utils.Popen(cmd, cwd=cwd, stdout=stdout)
output = sp.communicate()[0]
except OSError:
raise gclient_utils.Error("git command '%s' failed to run." %
« no previous file with comments | « gcl.py ('k') | gclient_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698