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

Side by Side Diff: tools/chrome_remote_control/chrome_remote_control/websocket.py

Issue 10984018: [chrome_remote_control] Add pylint to PRESUMMIT and fix lint (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for landing Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 from __future__ import absolute_import 4 from __future__ import absolute_import
5 import os 5 import os
6 import sys 6 import sys
7 7
8 def __init__(): 8 def __init__():
9 ws_path = os.path.join(os.path.dirname(__file__), 9 ws_path = os.path.join(os.path.dirname(__file__),
10 '../third_party/websocket-client') 10 '../third_party/websocket-client')
11 assert os.path.exists(os.path.join(ws_path, 'websocket.py')) 11 assert os.path.exists(os.path.join(ws_path, 'websocket.py'))
12 sys.path.append(ws_path) 12 sys.path.append(ws_path)
13 13
14 __init__() 14 __init__()
15 15
16 from websocket import * 16 from websocket import create_connection # pylint: disable=W0611
17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698