Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/activity
diff options
context:
space:
mode:
authorDan Winship <dwinship@redhat.com>2007-09-06 20:24:44 (GMT)
committer Dan Winship <dwinship@redhat.com>2007-09-07 17:31:45 (GMT)
commit7b760686a7ee0850983e5a33f063a9952b688af6 (patch)
tree16496d4b83b5c4267e9d4e91f09845dda38d5de5 /sugar/activity
parent9858a190fdbb5963125849111588a61c22bc7d7f (diff)
Add support for content bundles
Diffstat (limited to 'sugar/activity')
-rw-r--r--sugar/activity/bundle.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/sugar/activity/bundle.py b/sugar/activity/bundle.py
index cccff5a..a5231ef 100644
--- a/sugar/activity/bundle.py
+++ b/sugar/activity/bundle.py
@@ -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