diff --git a/Demo/tix/tixwidgets.py b/Demo/tix/tixwidgets.py index 68cf56ecf15..6e570d783fe 100644 --- a/Demo/tix/tixwidgets.py +++ b/Demo/tix/tixwidgets.py @@ -135,8 +135,7 @@ def loop(self): 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