| Index: third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/python.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/python.py b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/python.py
|
| index f09638ca6a2ea76b15a3927d615bd053d64754e2..13f66d948a951a4142dd63259485618ded000ed2 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/python.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/python.py
|
| @@ -36,6 +36,7 @@ from webkitpy.thirdparty import pep8
|
|
|
| class PythonChecker(object):
|
| """Processes text lines for checking style."""
|
| +
|
| def __init__(self, file_path, handle_style_error):
|
| self._file_path = file_path
|
| self._handle_style_error = handle_style_error
|
| @@ -76,10 +77,10 @@ class PythonChecker(object):
|
| executive = Executive()
|
| env = os.environ.copy()
|
| env['PYTHONPATH'] = ('%s%s%s%s%s' % (wkf.path_from_webkit_base('Tools', 'Scripts'),
|
| - os.pathsep,
|
| - wkf.path_from_webkit_base('Source', 'build', 'scripts'),
|
| - os.pathsep,
|
| - wkf.path_from_webkit_base('Tools', 'Scripts', 'webkitpy', 'thirdparty')))
|
| + os.pathsep,
|
| + wkf.path_from_webkit_base('Source', 'build', 'scripts'),
|
| + os.pathsep,
|
| + wkf.path_from_webkit_base('Tools', 'Scripts', 'webkitpy', 'thirdparty')))
|
| return executive.run_command([sys.executable, wkf.path_from_depot_tools_base('pylint.py'),
|
| '--output-format=parseable',
|
| '--errors-only',
|
|
|