diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-01 13:10:02 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-01 13:10:02 (GMT) |
commit | 06fc9dd342c788d4a3623f46add3049054fe53f1 (patch) | |
tree | e9e9ba512a2e064bf796eb35648abbb74b70ff10 | |
parent | 1e7eb05a13006e1eceb6713ecc91390d539126a8 (diff) | |
download | cpython-06fc9dd342c788d4a3623f46add3049054fe53f1.zip cpython-06fc9dd342c788d4a3623f46add3049054fe53f1.tar.gz cpython-06fc9dd342c788d4a3623f46add3049054fe53f1.tar.bz2 |
SF #517447, correct syntax error
-rw-r--r-- | Demo/tix/tixwidgets.py | 3 |
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 |