Author: Armin Rigo <[email protected]>
Branch: continulet-pickle
Changeset: r47389:37278daa9a3d
Date: 2011-09-22 11:50 +0200
http://bitbucket.org/pypy/pypy/changeset/37278daa9a3d/
Log: Fix an UnboundLocalError.
diff --git a/py/_code/source.py b/py/_code/source.py
--- a/py/_code/source.py
+++ b/py/_code/source.py
@@ -139,7 +139,7 @@
trysource = self[start:end]
if trysource.isparseable():
return start, end
- return start, end
+ return start, len(self)
def getblockend(self, lineno):
# XXX
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit