From 4f6759132745fc255813a5cb126c86a6ac25a0ac Mon Sep 17 00:00:00 2001 From: calvin Date: Sat, 8 Apr 2006 08:59:52 +0000 Subject: [PATCH] no bare excepts git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3115 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkcheck/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linkcheck/log.py b/linkcheck/log.py index a2613d99..04650946 100644 --- a/linkcheck/log.py +++ b/linkcheck/log.py @@ -50,7 +50,7 @@ def _stack_format (stack): try: s.write(repr(value)) s.write(os.linesep) - except: + except StandardError: s.write("error in repr() call%s" % os.linesep) return s.getvalue()