From 77ed5664715a70d103e1c9a9cc31c7a1321efe7e Mon Sep 17 00:00:00 2001 From: calvin Date: Wed, 9 Nov 2005 07:46:22 +0000 Subject: [PATCH] cleanup git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2931 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 8586932a..c9321000 100644 --- a/linkcheck/log.py +++ b/linkcheck/log.py @@ -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())