Drop support for running from source dir. As it is now it's just confusing.

Will have to figure out the exact needs and rewrite in a better way.
This commit is contained in:
Marco Pesenti Gritti
2007-03-09 17:38:05 +01:00
parent 6c5d28ecf5
commit b8cc8ec68f
2 changed files with 4 additions and 28 deletions
+1 -5
View File
@@ -20,9 +20,6 @@ import sys
import os
from ConfigParser import ConfigParser
if len(sys.argv) == 2:
sys.path.insert(0, sys.argv[1])
import pygtk
pygtk.require('2.0')
import gtk
@@ -36,8 +33,7 @@ from sugar import TracebackUtils
logger.cleanup()
logger.start('shell')
if len(sys.argv) == 1:
sys.path.insert(0, env.get_shell_path())
sys.path.insert(0, env.get_shell_path())
from view.Shell import Shell
from model.ShellModel import ShellModel