Add support for content bundles

This commit is contained in:
Dan Winship
2007-09-06 16:24:44 -04:00
parent 9858a190fd
commit 7b760686a7
10 changed files with 365 additions and 8 deletions
+3 -7
View File
@@ -29,6 +29,9 @@ import dbus
from sugar import env
from sugar import activity
from sugar.bundle.bundle import AlreadyInstalledException, \
NotInstalledException, InvalidPathException, ZipExtractException, \
RegistrationException, MalformedBundleException
_PYTHON_FACTORY='sugar-activity-factory'
@@ -36,13 +39,6 @@ _DBUS_SHELL_SERVICE = "org.laptop.Shell"
_DBUS_SHELL_PATH = "/org/laptop/Shell"
_DBUS_ACTIVITY_REGISTRY_IFACE = "org.laptop.Shell.ActivityRegistry"
class AlreadyInstalledException(Exception): pass
class NotInstalledException(Exception): pass
class InvalidPathException(Exception): pass
class ZipExtractException(Exception): pass
class RegistrationException(Exception): pass
class MalformedBundleException(Exception): pass
class Bundle:
"""Metadata description of a given application/activity