diff options
Diffstat (limited to 'Demo/tix/tixwidgets.py')
-rw-r--r-- | Demo/tix/tixwidgets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tix/tixwidgets.py b/Demo/tix/tixwidgets.py index bf7102a..49d1e7f 100644 --- a/Demo/tix/tixwidgets.py +++ b/Demo/tix/tixwidgets.py @@ -166,7 +166,7 @@ class Demo: try: tkMessageBox.showerror ('Error', text) except: pass self.exit = 1 - raise SystemExit, 1 + raise SystemExit(1) def destroy (self): self.root.destroy() |