summaryrefslogtreecommitdiff
path: root/py/demo/IceGrid/allocate/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/IceGrid/allocate/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/IceGrid/allocate/Client.py')
-rw-r--r--py/demo/IceGrid/allocate/Client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/demo/IceGrid/allocate/Client.py b/py/demo/IceGrid/allocate/Client.py
index fcfeb19ec8a..f67344ebcb2 100644
--- a/py/demo/IceGrid/allocate/Client.py
+++ b/py/demo/IceGrid/allocate/Client.py
@@ -99,6 +99,8 @@ class Client(Ice.Application):
menu()
except EOFError:
break
+ except KeyboardInterrupt:
+ break
except IceGrid.AllocationException, ex:
print self.appName() + ": could not allocate object: " + ex.reason
status = False