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

Unified Diff: gclient_utils.py

Issue 523094: Fix checkout root detection for git (Closed)
Patch Set: Created 10 years, 11 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 | « no previous file | scm.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient_utils.py
diff --git a/gclient_utils.py b/gclient_utils.py
index b83f8c9f6740889d16a3db4ddd4e81b50e538bf9..5068563e980627b4a02059ebb199fe7890fa9653 100644
--- a/gclient_utils.py
+++ b/gclient_utils.py
@@ -41,7 +41,7 @@ def CheckCall(command, cwd=None, print_error=True):
Works on python 2.4
"""
- logging.debug(command)
+ logging.debug("%s, cwd=%s" % (str(command), str(cwd)))
try:
stderr = None
if not print_error:
@@ -52,7 +52,7 @@ def CheckCall(command, cwd=None, print_error=True):
stderr=stderr)
output = process.communicate()[0]
except OSError, e:
- raise CheckCallError(command, cwd, errno, None)
+ raise CheckCallError(command, cwd, e.errno, None)
if process.returncode:
raise CheckCallError(command, cwd, process.returncode, output)
return output
« no previous file with comments | « no previous file | scm.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698