summaryrefslogtreecommitdiff
path: root/py/demo/Ice/async/Publisher.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/async/Publisher.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/async/Publisher.py')
-rw-r--r--py/demo/Ice/async/Publisher.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/demo/Ice/async/Publisher.py b/py/demo/Ice/async/Publisher.py
index 830ca5cd010..70af61ceadd 100644
--- a/py/demo/Ice/async/Publisher.py
+++ b/py/demo/Ice/async/Publisher.py
@@ -46,6 +46,8 @@ class Publisher(Ice.Application):
menu()
else:
queue.add(line)
+ except KeyboardInterrupt:
+ return False
except EOFError:
return False
except Ice.Exception, ex: