]> granicus.if.org Git - python/commitdiff
Minor bugfix: one uthread-dependent cleanup had "if not uthread" in stead of "if...
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 7 Jun 2000 20:11:03 +0000 (20:11 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 7 Jun 2000 20:11:03 +0000 (20:11 +0000)
Mac/Tools/IDE/PyEdit.py

index 8a70cdb69b023d0a55ba11cf1cf91da966efeda8..bff5baf534cdfb366a56aca92e1b5ac0c6d94540 100644 (file)
@@ -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)