From 6a5aa6680ce4da1be7d3a825b33a6f0fe92537d9 Mon Sep 17 00:00:00 2001 From: Gregory Nisbet Date: Wed, 22 Jan 2020 02:03:33 +0000 Subject: [PATCH] export PYTHONDONTWRITEBYTECODE instead of just defining constant BUG=chromium:1040314 TEST=shellcheck Change-Id: I237df73daad84aeebfc934c9ddcc3eb632598827 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1995993 Reviewed-by: Edward Lesmes Commit-Queue: Gregory Nisbet --- python_runner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_runner.sh b/python_runner.sh index 51a5445d7..dc2c15718 100755 --- a/python_runner.sh +++ b/python_runner.sh @@ -12,7 +12,7 @@ ## ./git-foo-command #=> runs `python git_foo_command.py` ## Constants -PYTHONDONTWRITEBYTECODE=1 +PYTHONDONTWRITEBYTECODE=1; export PYTHONDONTWRITEBYTECODE ## "Input parameters". # If set before the script is sourced, then we'll use the pre-set values.