update sugar-install-bundle for Bundle -> ActivityBundle

This commit is contained in:
Dan Winship 2007-09-21 15:16:53 -04:00
parent 2a91e02444
commit 6cfae625a3

View File

@ -1,12 +1,12 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import sys
from sugar.activity.bundle import Bundle from sugar.bundle.activitybundle import ActivityBundle
from dbus.mainloop.glib import DBusGMainLoop from dbus.mainloop.glib import DBusGMainLoop
DBusGMainLoop(set_as_default=True) DBusGMainLoop(set_as_default=True)
bundle = Bundle(sys.argv[1]) bundle = ActivityBundle(sys.argv[1])
bundle.install() bundle.install()
print "%s: '%s' installed." % (sys.argv[0], sys.argv[1]) print "%s: '%s' installed." % (sys.argv[0], sys.argv[1])