コード例 #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
ファイル: debug.py プロジェクト: SpaceAppsCH/HXLator
 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