summaryrefslogtreecommitdiff
path: root/py/demo/IceGrid/allocate/Client.py
diff options
context:
space:
mode:
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