From: Neal Norwitz Date: Fri, 1 Mar 2002 13:10:02 +0000 (+0000) Subject: SF #517447, correct syntax error X-Git-Tag: v2.2.1c1~128 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06fc9dd342c788d4a3623f46add3049054fe53f1;p=thirdparty%2FPython%2Fcpython.git SF #517447, correct syntax error --- diff --git a/Demo/tix/tixwidgets.py b/Demo/tix/tixwidgets.py index 68cf56ecf157..6e570d783fea 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