From 1ed54506516e1b2ea7e506b182f07b66978ab0ba Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 23 Oct 2006 15:22:26 +0000 Subject: Do not trap all exceptions grrr --- (limited to 'sugar') diff --git a/sugar/graphics/timeline.py b/sugar/graphics/timeline.py index d8342fc..77d2428 100644 --- a/sugar/graphics/timeline.py +++ b/sugar/graphics/timeline.py @@ -31,7 +31,7 @@ class TimelineObserver: try: method = getattr(self._observer, 'do_' + tag) method(current_frame, n_frames) - except: + except AttributeError: pass class Timeline: -- cgit v0.9.1