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

Side by Side Diff: tools/site_compare/drivers/__init__.py

Issue 8678023: Fix python scripts in src/tools/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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 #!/usr/bin/python2.4 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # 2 # Use of this source code is governed by a BSD-style license that can be
3 # Copyright 2007 Google Inc. All Rights Reserved. 3 # found in the LICENSE file.
4 4
5 """Imports a set of drivers appropriate to the current OS.""" 5 """Imports a set of drivers appropriate to the current OS."""
6 6
7 __author__ = 'jhaas@google.com (Jonathan Haas)'
8
9 import sys 7 import sys
10 8
11 platform_dir = sys.platform 9 platform_dir = sys.platform
12 10
13 keyboard = __import__(platform_dir+".keyboard", globals(), locals(), ['']) 11 keyboard = __import__(platform_dir+".keyboard", globals(), locals(), [''])
14 mouse = __import__(platform_dir+".mouse", globals(), locals(), ['']) 12 mouse = __import__(platform_dir+".mouse", globals(), locals(), [''])
15 windowing = __import__(platform_dir+".windowing", globals(), locals(), ['']) 13 windowing = __import__(platform_dir+".windowing", globals(), locals(), [''])
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698