Flask update

This commit is contained in:
Ruud
2011-08-24 20:59:59 +02:00
parent 970b400a0c
commit d7f758dff4
90 changed files with 3328 additions and 1236 deletions
+7 -1
View File
@@ -45,7 +45,13 @@ class TracebackFrameProxy(object):
def set_next(self, next):
if tb_set_next is not None:
tb_set_next(self.tb, next and next.tb or None)
try:
tb_set_next(self.tb, next and next.tb or None)
except Exception:
# this function can fail due to all the hackery it does
# on various python implementations. We just catch errors
# down and ignore them if necessary.
pass
self._tb_next = next
@property