Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2008-11-28 18:38:32 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2008-11-28 18:38:32 (GMT)
commitfeeeff34a1f89141b06634e47be2787d737c9b3a (patch)
tree655c979be51b125d2050e639bbbeb37f926aa56e /src
parent0157f427ab3e8ab8c4cb7fb5cbf6655dceee2735 (diff)
Remove bundle stuff
Diffstat (limited to 'src')
-rw-r--r--src/sugar/datastore/datastore.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/sugar/datastore/datastore.py b/src/sugar/datastore/datastore.py
index f6df214..ed2e6a5 100644
--- a/src/sugar/datastore/datastore.py
+++ b/src/sugar/datastore/datastore.py
@@ -27,8 +27,6 @@ import os
import gobject
from sugar.datastore import dbus_helpers
-from sugar.bundle.contentbundle import ContentBundle
-from sugar.bundle.activitybundle import ActivityBundle
from sugar import mime
class DSMetadata(gobject.GObject):
@@ -118,16 +116,6 @@ class DSObject(object):
file_path = property(get_file_path, set_file_path)
- def is_activity_bundle(self):
- return self.metadata['mime_type'] in \
- [ActivityBundle.MIME_TYPE, ActivityBundle.DEPRECATED_MIME_TYPE]
-
- def is_content_bundle(self):
- return self.metadata['mime_type'] == ContentBundle.MIME_TYPE
-
- def is_bundle(self):
- return self.is_activity_bundle() or self.is_content_bundle()
-
def destroy(self):
if self._destroyed:
logging.warning('This DSObject has already been destroyed!.')