Skip to content

Commit

Permalink
clear get_stack func
Browse files Browse the repository at this point in the history
  • Loading branch information
ZSD-tim committed Jan 31, 2020
1 parent f3209f2 commit 6d77233
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions scripts/mpdb/MPDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,6 @@ def wrapper(self,*args, **kwargs):
return args
return wrapper


def get_stack(f):
stack = []
print "================",[f]
while f is not None:
stack.append(f)
filename = f.f_code.co_filename
lineno = f.f_lineno
print "file",filename,lineno
f = f.f_back
return stack

def ignoreBdbQuitError(func):
"""debugMode 过滤 BdbQuit 装饰器
"""
Expand Down

0 comments on commit 6d77233

Please sign in to comment.