More cleanups and some fixes

This commit is contained in:
Marco Pesenti Gritti
2006-07-12 14:02:29 +02:00
parent ca2b08f8b6
commit be806eb191
10 changed files with 78 additions and 105 deletions
+6
View File
@@ -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':