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

Unified Diff: presubmit_canned_checks.py

Issue 12255083: Fix PyLint presbumit check on win. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Dear Marc-Antoine, Created 7 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698