From c082757de6f220a0c2f3aaef6f2f46302dbe93cb Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 30 Aug 2007 12:36:20 +0000 Subject: Revert "Make sure the handle dict values are string. Looks" This reverts commit 0e45b8fcf1978f560713864e18a270719d7d4872. --- (limited to 'sugar') diff --git a/sugar/activity/activityhandle.py b/sugar/activity/activityhandle.py index 0f2f2d9..8e90e70 100644 --- a/sugar/activity/activityhandle.py +++ b/sugar/activity/activityhandle.py @@ -67,15 +67,13 @@ class ActivityHandle(object): def get_dict(self): """Retrieve our settings as a dictionary""" - result = { } - if self.activity_id: - result['activity_id'] = str(self.activity_id) + result = { 'activity_id' : self.activity_id } if self.pservice_id: - result['pservice_id'] = str(self.pservice_id) + result['pservice_id'] = self.pservice_id if self.object_id: - result['object_id'] = str(self.object_id) + result['object_id'] = self.object_id if self.uri: - result['uri'] = str(self.uri) + result['uri'] = self.uri return result -- cgit v0.9.1