summaryrefslogtreecommitdiff
path: root/py/demo/Ice/async/Client.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/demo/Ice/async/Client.py')
-rw-r--r--py/demo/Ice/async/Client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/demo/Ice/async/Client.py b/py/demo/Ice/async/Client.py
index 34d8e278c17..edec43d9777 100644
--- a/py/demo/Ice/async/Client.py
+++ b/py/demo/Ice/async/Client.py
@@ -36,7 +36,7 @@ class Client(Ice.Application):
hello = Demo.HelloPrx.checkedCast(self.communicator().propertyToProxy('Hello.Proxy'))
if not hello:
print args[0] + ": invalid proxy"
- return False
+ return 1
menu()
@@ -64,7 +64,7 @@ class Client(Ice.Application):
except Ice.Exception, ex:
print ex
- return True
+ return 0
app = Client()
sys.exit(app.main(sys.argv, "config.client"))