From aed093dbc28e67ae87f2d482355ce47842c9d625 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Tue, 16 Oct 2007 16:18:36 +0200 Subject: [PATCH] Fix warning. --- lib/sugar/activity/activity.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/sugar/activity/activity.py b/lib/sugar/activity/activity.py index 8fceb6b1..550ddc06 100644 --- a/lib/sugar/activity/activity.py +++ b/lib/sugar/activity/activity.py @@ -312,9 +312,8 @@ class Activity(Window, gtk.Container): self._jobject.metadata['icon-color'] = icon_color self._jobject.file_path = '' - datastore.write(self._jobject, - reply_handler=self.__jobject_create_cb, - error_handler=self.__jobject_error_cb) + # Cannot call datastore.write async for creates: https://dev.laptop.org/ticket/3071 + datastore.write(self._jobject) else: self._jobject = None