[svn r50755] Port from reporter-merge branch.

--HG--
branch : trunk
This commit is contained in:
fijal 2008-01-18 17:35:33 +01:00
parent 9ca5974f0a
commit 37073e11f9
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ class Source(object):
for start in range(lineno, -1, -1):
trylines = self.lines[start:lineno+1]
# quick hack to indent the source and get it as a string in one go
trylines.insert(0, 'if 0:')
trylines.insert(0, 'def xxx():')
trysource = '\n '.join(trylines)
# ^ space here
try: