projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40c593e
)
We cannot fake the descriptor on a tproxy so we have to set _tb_next directly
author
Armin Ronacher
<armin.ronacher@active-4.com>
Mon, 29 Nov 2010 11:14:50 +0000
(12:14 +0100)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Mon, 29 Nov 2010 11:14:50 +0000
(12:14 +0100)
jinja2/debug.py
patch
|
blob
|
history
diff --git
a/jinja2/debug.py
b/jinja2/debug.py
index e8492cd6711a8ce9779c6eb3efa4aa4152868cd5..80ee2e703fde3023802975426660dd47cf65f9e8 100644
(file)
--- a/
jinja2/debug.py
+++ b/
jinja2/debug.py
@@
-80,9
+80,9
@@
class ProcessedTraceback(object):
prev_tb = None
for tb in self.frames:
if prev_tb is not None:
- prev_tb.tb_next = tb
+ prev_tb.
_
tb_next = tb
prev_tb = tb
- prev_tb.tb_next = None
+ prev_tb.
_
tb_next = None
def render_as_text(self, limit=None):
"""Return a string with the traceback."""