diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-09 16:38:05 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-09 16:38:05 (GMT) |
commit | b8cc8ec68f6fa008edc9c90f860143bd0a61eb5b (patch) | |
tree | 04a032c7f967a5b393218bea1d00958c006cce59 /shell | |
parent | 6c5d28ecf516cca2ad317983fade3dbf0061d6e6 (diff) |
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.
Diffstat (limited to 'shell')
-rwxr-xr-x | shell/sugar-shell | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/shell/sugar-shell b/shell/sugar-shell index 277030d..24eb751 100755 --- a/shell/sugar-shell +++ b/shell/sugar-shell @@ -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 |