예제 #1
0
파일: debug.py 프로젝트: Reve/eve
    def set_next(self, next):
        if tb_set_next is not None:
            try:
                tb_set_next(self.tb, next and next.tb or None)
            except Exception:
                pass

        self._tb_next = next
예제 #2
0
    def set_next(self, next):
        if tb_set_next is not None:
            try:
                tb_set_next(self.tb, next and next.tb or None)
            except Exception:
                pass

        self._tb_next = next
예제 #3
0
 def set_next(self, next):
     if tb_set_next is not 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
예제 #4
0
파일: debug.py 프로젝트: good1111/pj-redis
 def set_next(self, next):
     if tb_set_next is not 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
예제 #5
0
 def _set_tb_next(self, next):
     if tb_set_next is not None:
         tb_set_next(self.tb, next and next.tb or None)
     self._tb_next = next
예제 #6
0
 def set_next(self, next):
     if tb_set_next is not None:
         tb_set_next(self.tb, next and next.tb or None)
     self._tb_next = next