Kaydet (Commit) 719cfc48 authored tarafından Neal Norwitz's avatar Neal Norwitz

SF #517447, correct syntax error

üst 29001ff2
...@@ -135,8 +135,7 @@ class Demo: ...@@ -135,8 +135,7 @@ class Demo:
import tkMessageBox, traceback import tkMessageBox, traceback
while self.exit < 0: while self.exit < 0:
try: try:
while self.exit < 0: self.root.tk.dooneevent(TCL_ALL_EVENTS)
self.root.tk.dooneevent(TCL_ALL_EVENTS)
except SystemExit: except SystemExit:
#print 'Exit' #print 'Exit'
self.exit = 1 self.exit = 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment