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

Unified Diff: git-cl

Issue 50293009: Revert r231888 "Fixes for python 2.7.5 support." (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 7 years, 2 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 | « PRESUBMIT.py ('k') | git-try » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-cl
diff --git a/git-cl b/git-cl
index df4bec0b39de0c2f9d7f8ae6ff72d2dc3e82f3f9..0fc4354d57830f99f6b9e01cf7381d625ec26436 100755
--- a/git-cl
+++ b/git-cl
@@ -20,8 +20,8 @@ fi
# Uncomment this line if you never use gclient.
# "$base_dir"/update_depot_tools
-if [ -e "$base_dir/python.bat" -a $MINGW = 0 ]; then
- PYTHONDONTWRITEBYTECODE=1 cmd.exe /c "$base_dir/python.bat $base_dir/git_cl.py $@"
+if [ -d "$base_dir/python_bin" -a $MINGW = 0 ]; then
+ PYTHONDONTWRITEBYTECODE=1 exec "$base_dir/python_bin/python.exe" "$base_dir"/git_cl.py "$@"
else
PYTHONDONTWRITEBYTECODE=1 exec "$base_dir/git_cl.py" "$@"
fi
« no previous file with comments | « PRESUBMIT.py ('k') | git-try » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698