From 7ebd86416b89bf67bb97f7680b87660f8cdc0cf7 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 10 Feb 2008 21:56:28 +0000 Subject: [PATCH] No need to catch BaseException. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@164 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/bkmk_rsimple.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Robots/bkmk_rsimple.py b/Robots/bkmk_rsimple.py index 2d5ec8f..f18dfac 100644 --- a/Robots/bkmk_rsimple.py +++ b/Robots/bkmk_rsimple.py @@ -249,10 +249,10 @@ class robot_simple(Robot): except KeyboardInterrupt: return 0 - except BaseException, msg: - bookmark.error = "Exception!" + except: import traceback traceback.print_exc() + bookmark.error = "Exception!" finally: self.finish_check_url(bookmark) -- 2.39.5