Fix the sugar script for the new packages
This commit is contained in:
parent
0f969404eb
commit
a55dc687bf
16
sugar/sugar
16
sugar/sugar
@ -13,16 +13,16 @@ if len(sys.argv) == 1:
|
|||||||
# are spanned. But obviously we
|
# are spanned. But obviously we
|
||||||
# need something better.
|
# need something better.
|
||||||
|
|
||||||
import sugar.chat
|
from sugar.chat import chat
|
||||||
sugar.chat.main()
|
chat.main()
|
||||||
elif sys.argv[1] == 'shell':
|
elif sys.argv[1] == 'shell':
|
||||||
import sugar.shell
|
from sugar.shell import shell
|
||||||
sugar.shell.main()
|
shell.main()
|
||||||
elif sys.argv[1] == 'chat':
|
elif sys.argv[1] == 'chat':
|
||||||
import sugar.chat
|
from sugar.chat import chat
|
||||||
sugar.chat.main()
|
chat.main()
|
||||||
elif sys.argv[1] == 'browser':
|
elif sys.argv[1] == 'browser':
|
||||||
import sugar.browser
|
from sugar.browser import browser
|
||||||
sugar.browser.main()
|
browser.main()
|
||||||
else:
|
else:
|
||||||
print "Unknown activity"
|
print "Unknown activity"
|
||||||
|
Loading…
Reference in New Issue
Block a user