mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-13 09:03:11 +00:00
cleanup
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2931 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
9eab0056ac
commit
77ed566471
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ def _stack_format (stack):
|
|||
s = StringIO.StringIO()
|
||||
s.write('Traceback:')
|
||||
s.write(os.linesep)
|
||||
for frame, fname, lineno, method, lines, i in reversed(stack):
|
||||
for frame, fname, lineno, method, lines, dummy in reversed(stack):
|
||||
s.write(' File %r, line %d, in %s' % (fname, lineno, method))
|
||||
s.write(os.linesep)
|
||||
s.write(' %s' % lines[0].lstrip())
|
||||
|
|
|
|||
Loading…
Reference in a new issue