summaryrefslogtreecommitdiffstats
path: root/Demo/tix/tixwidgets.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-03-01 13:07:34 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-03-01 13:07:34 (GMT)
commit719cfc4864f4bbe941f85dae5eb4fdc403dc8400 (patch)
tree9cd222c4511195289159617217579385ae393c5f /Demo/tix/tixwidgets.py
parent29001ff2341fe10a0f97c662b31c061cfad4fb5e (diff)
downloadcpython-719cfc4864f4bbe941f85dae5eb4fdc403dc8400.zip
cpython-719cfc4864f4bbe941f85dae5eb4fdc403dc8400.tar.gz
cpython-719cfc4864f4bbe941f85dae5eb4fdc403dc8400.tar.bz2
SF #517447, correct syntax error
Diffstat (limited to 'Demo/tix/tixwidgets.py')
-rw-r--r--Demo/tix/tixwidgets.py3
1 files changed, 1 insertions, 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