From: Oleg Broytman Date: Sun, 10 Feb 2008 21:56:28 +0000 (+0000) Subject: No need to catch BaseException. X-Git-Tag: v4.5.3~212 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=7ebd86416b89bf67bb97f7680b87660f8cdc0cf7;p=bookmarks_db.git No need to catch BaseException. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@164 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- 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)