]> granicus.if.org Git - python/commitdiff
SF #517447, correct syntax error
authorNeal Norwitz <nnorwitz@gmail.com>
Fri, 1 Mar 2002 13:07:34 +0000 (13:07 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Fri, 1 Mar 2002 13:07:34 +0000 (13:07 +0000)
Demo/tix/tixwidgets.py

index 68cf56ecf1578d3aeb8fa1e51191b869f391097a..6e570d783fead0840b9bd9790cc6084005ea0942 100644 (file)
@@ -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