[Commits] sugar-toolkit branch master updated.
Tomeu Vizoso
tomeu at tomeuvizoso.net
Fri Nov 28 13:38:44 EST 2008
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "/home/olpc-code/git/sugar-toolkit".
The branch, master has been updated
via feeeff34a1f89141b06634e47be2787d737c9b3a (commit)
from 0157f427ab3e8ab8c4cb7fb5cbf6655dceee2735 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
src/sugar/datastore/datastore.py | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
- Log -----------------------------------------------------------------
commit feeeff34a1f89141b06634e47be2787d737c9b3a
Author: Tomeu Vizoso <tomeu at tomeuvizoso.net>
Date: Fri Nov 28 19:38:32 2008 +0100
Remove bundle stuff
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!.')
-----------------------------------------------------------------------
--
/home/olpc-code/git/sugar-toolkit
More information about the Commits
mailing list