From a55dc687bfed1f1c665d04dfcdd83978f4f0a403 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 12 May 2006 02:52:32 -0400 Subject: [PATCH] Fix the sugar script for the new packages --- sugar/sugar | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sugar/sugar b/sugar/sugar index 960971c4..4c6ec886 100755 --- a/sugar/sugar +++ b/sugar/sugar @@ -13,16 +13,16 @@ if len(sys.argv) == 1: # are spanned. But obviously we # need something better. - import sugar.chat - sugar.chat.main() + from sugar.chat import chat + chat.main() elif sys.argv[1] == 'shell': - import sugar.shell - sugar.shell.main() + from sugar.shell import shell + shell.main() elif sys.argv[1] == 'chat': - import sugar.chat - sugar.chat.main() + from sugar.chat import chat + chat.main() elif sys.argv[1] == 'browser': - import sugar.browser - sugar.browser.main() + from sugar.browser import browser + browser.main() else: print "Unknown activity"