Fix redundancy

This commit is contained in:
Owen Williams 2007-01-18 15:33:22 -05:00 committed by Marco Pesenti Gritti
parent 1143623d35
commit 3bedd451e3

View File

@ -156,8 +156,7 @@ class ActivitiesDonut(hippo.CanvasBox, hippo.CanvasItem):
return
icon = self._activities[act_id]
self.remove(icon)
act = self._activities[act_id]
act.cleanup()
icon.cleanup()
del self._activities[act_id]
def _add_activity(self, activity):