mirror of https://github.com/python/cpython
Minor bugfix: one uthread-dependent cleanup had "if not uthread" in stead of "if uthread".
This commit is contained in:
parent
fd771a6a85
commit
1c0fceeaa7
|
@ -1120,7 +1120,7 @@ def execstring(pytext, globals, locals, filename="<string>", debugging=0,
|
|||
return
|
||||
else:
|
||||
tracebackwindow.traceback(1, filename)
|
||||
if not uthread2:
|
||||
if uthread2:
|
||||
uthread2.globalUnlock()
|
||||
if debugging:
|
||||
sys.settrace(None)
|
||||
|
|
Loading…
Reference in New Issue