Index: presubmit_canned_checks.py |
diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py |
index 995aa45504c0ac1f1382d3cd98ee5b2812e125c1..480ecd2b923530e2cb9d19ab82fc17bbcdb11a9f 100644 |
--- a/presubmit_canned_checks.py |
+++ b/presubmit_canned_checks.py |
@@ -677,7 +677,7 @@ def RunPylint(input_api, output_api, white_list=None, black_list=None, |
env = input_api.environ.copy() |
import sys |
env['PYTHONPATH'] = input_api.os_path.pathsep.join( |
- extra_paths_list + sys.path) |
+ extra_paths_list + sys.path).encode('utf8') |
def run_lint(files): |
# We can't import pylint directly due to licensing issues, so we run |