diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-12 12:02:29 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-12 12:02:29 (GMT) |
commit | be806eb1918f7db90e661b5fcb4e260a0b1ba669 (patch) | |
tree | 09ca8d2341d5875c1623801516a5f32bf1626063 /shell/sugar | |
parent | ca2b08f8b6fb1bc54a4e4f9cfc457f57cf958c7f (diff) |
More cleanups and some fixes
Diffstat (limited to 'shell/sugar')
-rwxr-xr-x | shell/sugar | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/sugar b/shell/sugar index 1a5d1ad..528aa19 100755 --- a/shell/sugar +++ b/shell/sugar @@ -5,6 +5,8 @@ import os import pwd import random +from Emulator import Emulator + def add_to_python_path(path): sys.path.insert(0, path) if os.environ.has_key('PYTHONPATH'): @@ -13,6 +15,10 @@ def add_to_python_path(path): else: os.environ['PYTHONPATH'] = path +# FIXE Don't run the emulator on the OLPC +emulator = Emulator() +emulator.start() + i = 0 for arg in sys.argv: if arg == '--test-user': |