summaryrefslogtreecommitdiff
path: root/py/demo/Ice/hello/Client.py
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2007-01-04 19:37:42 +0000
committerMatthew Newhook <matthew@zeroc.com>2007-01-04 19:37:42 +0000
commitb5a064303dc0502e71f0175293668adf3c5ea1ac (patch)
tree674f32e2ba342a6a33b51a206306ff5a8a0f6490 /py/demo/Ice/hello/Client.py
parentFixed function definition (diff)
downloadice-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/hello/Client.py')
-rw-r--r--py/demo/Ice/hello/Client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/py/demo/Ice/hello/Client.py b/py/demo/Ice/hello/Client.py
index d812b4978fc..e812509e9b0 100644
--- a/py/demo/Ice/hello/Client.py
+++ b/py/demo/Ice/hello/Client.py
@@ -13,7 +13,6 @@ import sys, traceback, Ice
Ice.loadSlice('Hello.ice')
import Demo
-
def menu():
print """
usage:
@@ -118,6 +117,8 @@ class Client(Ice.Application):
else:
print "unknown command `" + c + "'"
menu()
+ except KeyboardInterrupt:
+ break
except EOFError:
break
except Ice.Exception, ex: