Minor bugfix: one uthread-dependent cleanup had "if not uthread" in stead of "if uthread".
diff --git a/Mac/Tools/IDE/PyEdit.py b/Mac/Tools/IDE/PyEdit.py
index 8a70cdb..bff5baf 100644
--- a/Mac/Tools/IDE/PyEdit.py
+++ b/Mac/Tools/IDE/PyEdit.py
@@ -1120,7 +1120,7 @@
 			return
 		else:
 			tracebackwindow.traceback(1, filename)
-		if not uthread2:
+		if uthread2:
 			uthread2.globalUnlock()
 	if debugging:
 		sys.settrace(None)