From 719cfc4864f4bbe941f85dae5eb4fdc403dc8400 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Fri, 1 Mar 2002 13:07:34 +0000 Subject: SF #517447, correct syntax error --- Demo/tix/tixwidgets.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Demo/tix/tixwidgets.py b/Demo/tix/tixwidgets.py index 68cf56e..6e570d7 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 -- cgit v0.12