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

Side by Side Diff: tools/telemetry/telemetry/core/chrome/websocket.py

Issue 12294002: Revert 182991 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4 from __future__ import absolute_import
5 import os
6 import sys
7
8 def __init__():
9 ws_path = os.path.join(os.path.dirname(__file__),
10 '../../../third_party/websocket-client')
11 ws_path = os.path.abspath(ws_path)
12 assert os.path.exists(os.path.join(ws_path, 'websocket.py'))
13 if ws_path not in sys.path:
14 sys.path.append(ws_path)
15
16 __init__()
17
18 from websocket import create_connection # pylint: disable=W0611
19 from websocket import WebSocketException # pylint: disable=W0611
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698