From dcbc9df56387f7b17178ea1b9eae96a10f3abccc Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Mon, 05 Jan 2009 17:26:18 +0000 Subject: Remove superfluous check --- (limited to 'src') diff --git a/src/jarabe/frame/frame.py b/src/jarabe/frame/frame.py index 6ba8814..0bb8d92 100644 --- a/src/jarabe/frame/frame.py +++ b/src/jarabe/frame/frame.py @@ -317,9 +317,6 @@ class Frame(object): lambda: self.remove_notification(icon)) def remove_notification(self, icon): - if not isinstance(icon, NotificationIcon): - raise TypeError('icon must be a NotificationIcon.') - if icon not in self._notif_by_icon: logging.debug('icon %r not in list of notifications.' % icon) return -- cgit v0.9.1