From 44e8393bde2cfce5bd590687f05bfe30904293cb Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 03 May 2007 19:06:00 +0000 Subject: Fix type --- (limited to 'sugar') diff --git a/sugar/activity/activity.py b/sugar/activity/activity.py index 1ba14bd..9fcdb36 100644 --- a/sugar/activity/activity.py +++ b/sugar/activity/activity.py @@ -181,7 +181,7 @@ class Activity(Window, gtk.Container): def share(self): """Request that the activity be shared on the network.""" - if self._shared_activty and self._shared_activity.props.joined: + if self._shared_activity and self._shared_activity.props.joined: raise RuntimeError("Activity %s already shared." % self._activity_id) logging.debug('Requesting share of activity %s.' % self._activity_id) self._share_id = self._pservice.connect("activity-shared", self._internal_share_cb) -- cgit v0.9.1