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

Unified Diff: git-cl

Issue 8060026: Enable PYTHONDONTWRITEBYTECODE=1 as much as possible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 3 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 | « gclient ('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 3c5457bbd980403e6bb05e5eaa32e026bd77b5fc..4f696f020b92f939a44d2a5f6c85670425345cb5 100755
--- a/git-cl
+++ b/git-cl
@@ -16,7 +16,7 @@ OUTPUT="$(uname | grep 'MINGW')"
MINGW=$?
if [ -d "$base_dir/python_bin" -a $MINGW = 0 ]; then
- exec "$base_dir/python_bin/python.exe" "$base_dir"/git_cl.py "$@"
+ PYTHONDONTWRITEBYTECODE=1 exec "$base_dir/python_bin/python.exe" "$base_dir"/git_cl.py "$@"
else
- exec "$base_dir/git_cl.py" "$@"
+ PYTHONDONTWRITEBYTECODE=1 exec "$base_dir/git_cl.py" "$@"
fi
« no previous file with comments | « gclient ('k') | git-try » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698