no bare excepts

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3115 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2006-04-08 08:59:52 +00:00
parent c558728370
commit 4f67591327

View file

@ -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()