summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2007-03-08 04:08:33 +0000
committerMark Spruiell <mes@zeroc.com>2007-03-08 04:08:33 +0000
commitdf68f6251753005f5e6ce21065c89a9b16e3f2f9 (patch)
tree630db6bec8cce37519b69baa061c3df2568e1771 /py
parentfix to help text (diff)
downloadice-df68f6251753005f5e6ce21065c89a9b16e3f2f9.tar.bz2
ice-df68f6251753005f5e6ce21065c89a9b16e3f2f9.tar.xz
ice-df68f6251753005f5e6ce21065c89a9b16e3f2f9.zip
minor fix
Diffstat (limited to 'py')
-rw-r--r--py/demo/Ice/async/Client.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/py/demo/Ice/async/Client.py b/py/demo/Ice/async/Client.py
index edec43d9777..2c371dafc62 100644
--- a/py/demo/Ice/async/Client.py
+++ b/py/demo/Ice/async/Client.py
@@ -18,8 +18,11 @@ class AMI_Hello_sayHelloI:
pass
def ice_exception(self, ex):
- print "sayHello AMI call failed:"
- print ex
+ if isinstance(ex, Demo.RequestCanceledException):
+ print "Request canceled"
+ else:
+ print "sayHello AMI call failed:"
+ print ex
def menu():
print """