diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-01-05 17:26:18 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-01-05 17:26:18 (GMT) |
commit | dcbc9df56387f7b17178ea1b9eae96a10f3abccc (patch) | |
tree | bf5daef1c102fbf87bc11697134752bf77f23e46 /src/jarabe/frame | |
parent | d78cc0e663385b1d3c5e6fc2efb2c28d6b8ac94e (diff) |
Remove superfluous check
Diffstat (limited to 'src/jarabe/frame')
-rw-r--r-- | src/jarabe/frame/frame.py | 3 |
1 files changed, 0 insertions, 3 deletions
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 |