From: Neal Norwitz Date: Fri, 1 Mar 2002 13:07:34 +0000 (+0000) Subject: SF #517447, correct syntax error X-Git-Tag: v2.3c1~6601 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=719cfc4864f4bbe941f85dae5eb4fdc403dc8400;p=python SF #517447, correct syntax error --- diff --git a/Demo/tix/tixwidgets.py b/Demo/tix/tixwidgets.py index 68cf56ecf1..6e570d783f 100644 --- a/Demo/tix/tixwidgets.py +++ b/Demo/tix/tixwidgets.py @@ -135,8 +135,7 @@ class Demo: import tkMessageBox, traceback while self.exit < 0: try: - while self.exit < 0: - self.root.tk.dooneevent(TCL_ALL_EVENTS) + self.root.tk.dooneevent(TCL_ALL_EVENTS) except SystemExit: #print 'Exit' self.exit = 1