| OLD | NEW |
| 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(), ['']) |
| OLD | NEW |