Index: presubmit_canned_checks.py |
diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py |
index a5f17dad564db038fa21ac99a8153b65b135fbe5..1558ac3222804570198ab6dcdd1fd1662f5fe63f 100644 |
--- a/presubmit_canned_checks.py |
+++ b/presubmit_canned_checks.py |
@@ -657,7 +657,7 @@ def RunPylint(input_api, output_api, white_list=None, black_list=None, |
command = [input_api.python_executable, |
input_api.os_path.join(_HERE, 'third_party', 'pylint.py')] |
try: |
- return input_api.subprocess.call(command + files + extra_args) |
+ return input_api.subprocess.call(command + files + extra_args, env=env) |
except OSError: |
return 'Pylint failed!' |