]> git.phdru.name Git - bookmarks_db.git/commitdiff
No need to catch BaseException.
authorOleg Broytman <phd@phdru.name>
Sun, 10 Feb 2008 21:56:28 +0000 (21:56 +0000)
committerOleg Broytman <phd@phdru.name>
Sun, 10 Feb 2008 21:56:28 +0000 (21:56 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@164 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

Robots/bkmk_rsimple.py

index 2d5ec8fb0d796ca17bca430cf41ef79aafaf276f..f18dface219f183fd23bdc69980ef4848c710684 100644 (file)
@@ -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)