From 1ed54506516e1b2ea7e506b182f07b66978ab0ba Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 23 Oct 2006 17:22:26 +0200 Subject: [PATCH] Do not trap all exceptions grrr --- sugar/graphics/timeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sugar/graphics/timeline.py b/sugar/graphics/timeline.py index d8342fca..77d24287 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: