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

Unified Diff: git-try

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 | « git-cl ('k') | pylint » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-try
diff --git a/git-try b/git-try
index f71acb45ced024de667e81a4b13076ab0b65047a..166f66938d5362f4259ece78ba565b3eb980aa90 100755
--- a/git-try
+++ b/git-try
@@ -14,8 +14,8 @@ else
base_dir=$(dirname "$0")
fi
-if [ -e "$base_dir/python.bat" -a $MINGW = 0 ]; then
- PYTHONDONTWRITEBYTECODE=1 cmd.exe /c "$base_dir/python.bat $base_dir/git_try.py $@"
+if [ -d "$base_dir/python_bin" -a $MINGW = 0 ]; then
+ PYTHONDONTWRITEBYTECODE=1 exec "$base_dir/python_bin/python.exe" "$base_dir"/git_try.py "$@"
else
PYTHONDONTWRITEBYTECODE=1 exec "$base_dir/git_try.py" "$@"
fi
« no previous file with comments | « git-cl ('k') | pylint » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698