[Commits] sugar-toolkit branch master updated.

Tomeu Vizoso tomeu at tomeuvizoso.net
Mon Dec 15 11:49:30 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  dddcc14ac7e1690ba01c17063cf8f77cb7390856 (commit)
      from  c537d70be2a27deab2cec39de4a8c48ddd3206db (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/activity/activity.py |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

- Log -----------------------------------------------------------------
commit dddcc14ac7e1690ba01c17063cf8f77cb7390856
Author: Tomeu Vizoso <tomeu at tomeuvizoso.net>
Date:   Mon Dec 15 17:48:41 2008 +0100

    Remove old cruft

diff --git a/src/sugar/activity/activity.py b/src/sugar/activity/activity.py
index 39c2f48..acefcf4 100644
--- a/src/sugar/activity/activity.py
+++ b/src/sugar/activity/activity.py
@@ -507,13 +507,7 @@ class Activity(Window, gtk.Container):
         share_scope = SCOPE_PRIVATE
 
         if handle.object_id:
-            self._jobject = datastore.get(handle.object_id)
-            # TODO: Don't create so many objects until we have versioning
-            # support in the datastore
-            #self._jobject.object_id = ''
-            #del self._jobject.metadata['ctime']
-            del self._jobject.metadata['mtime']
-            
+            self._jobject = datastore.get(handle.object_id)            
             self.set_title(self._jobject.metadata['title'])
                 
             if self._jobject.metadata.has_key('share-scope'):
-----------------------------------------------------------------------


--
/home/olpc-code/git/sugar-toolkit


More information about the Commits mailing list