Enable PYTHONDONTWRITEBYTECODE=1 as much as possible.
Since we clobber the .pyc, it's not useful to generate them in the first place.
R=dpranke@chromium.org
BUG=
TEST=
Review URL: http://codereview.chromium.org/8060026
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@103066 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/git-cl b/git-cl
index 3c5457b..4f696f0 100755
--- a/git-cl
+++ b/git-cl
@@ -16,7 +16,7 @@
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