Python3 Updates
This commit is contained in:
parent
190a70532a
commit
50164a92c6
7 changed files with 26 additions and 10 deletions
|
|
@ -73,7 +73,7 @@ class TraceDumper(threading.Thread):
|
|||
pass
|
||||
|
||||
def stacktraces(self):
|
||||
fout = file(self.fpath,"wb+")
|
||||
fout = open(self.fpath,"wb+")
|
||||
try:
|
||||
fout.write(stacktraces())
|
||||
finally:
|
||||
|
|
@ -97,5 +97,5 @@ def trace_stop():
|
|||
if _tracer is None:
|
||||
raise Exception("Not tracing, cannot stop.")
|
||||
else:
|
||||
_trace.stop()
|
||||
_trace = None
|
||||
_tracer.stop()
|
||||
_tracer = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue