[py-svn] r50757 - py/dist/py/code
arigo at codespeak.net
arigo at codespeak.net
Fri Jan 18 17:45:56 CET 2008
Author: arigo
Date: Fri Jan 18 17:45:55 2008
New Revision: 50757
Modified:
py/dist/py/code/source.py
Log:
Port the r50754 bugfix.
Modified: py/dist/py/code/source.py
==============================================================================
--- py/dist/py/code/source.py (original)
+++ py/dist/py/code/source.py Fri Jan 18 17:45:55 2008
@@ -109,7 +109,7 @@
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:
More information about the py-svn
mailing list