diff options
author | Matthew Newhook <matthew@zeroc.com> | 2007-01-04 19:37:42 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2007-01-04 19:37:42 +0000 |
commit | b5a064303dc0502e71f0175293668adf3c5ea1ac (patch) | |
tree | 674f32e2ba342a6a33b51a206306ff5a8a0f6490 /py/demo/Ice/session/Client.py | |
parent | Fixed function definition (diff) | |
download | ice-b5a064303dc0502e71f0175293668adf3c5ea1ac.tar.bz2 ice-b5a064303dc0502e71f0175293668adf3c5ea1ac.tar.xz ice-b5a064303dc0502e71f0175293668adf3c5ea1ac.zip |
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1391. Fixed bug with
holdInterrupt.
Diffstat (limited to 'py/demo/Ice/session/Client.py')
-rw-r--r-- | py/demo/Ice/session/Client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/py/demo/Ice/session/Client.py b/py/demo/Ice/session/Client.py index fa86d3e706f..9c57c8652f0 100644 --- a/py/demo/Ice/session/Client.py +++ b/py/demo/Ice/session/Client.py @@ -99,6 +99,8 @@ class Client(Ice.Application): self.menu() except EOFError: break + except KeyboardInterrupt: + break # # The refresher thread must be terminated before destroy is # called, otherwise it might get ObjectNotExistException. refresh @@ -135,6 +137,5 @@ t: exit without destroying the session ?: help """ - app = Client() sys.exit(app.main(sys.argv, "config.client")) |