mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
report correct line number
This commit is contained in:
parent
c0ace4ee5d
commit
aa40b011f8
@ -700,12 +700,12 @@ def describeException(backTrace = 4):
|
||||
stack = []
|
||||
while trace.tb_next:
|
||||
module = trace.tb_frame.f_globals.get('__name__', None)
|
||||
lineno = trace.tb_lineno
|
||||
lineno = trace.tb_frame.f_lineno
|
||||
stack.append("%s:%s, " % (module, lineno))
|
||||
trace = trace.tb_next
|
||||
|
||||
module = trace.tb_frame.f_globals.get('__name__', None)
|
||||
lineno = trace.tb_lineno
|
||||
lineno = trace.tb_frame.f_lineno
|
||||
stack.append("%s:%s, " % (module, lineno))
|
||||
|
||||
description = ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user