summaryrefslogtreecommitdiff
path: root/py/demo/Ice/value/Client.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/demo/Ice/value/Client.py')
-rw-r--r--py/demo/Ice/value/Client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/demo/Ice/value/Client.py b/py/demo/Ice/value/Client.py
index f779d014868..f226622e8ce 100644
--- a/py/demo/Ice/value/Client.py
+++ b/py/demo/Ice/value/Client.py
@@ -33,7 +33,7 @@ class Client(Ice.Application):
initial = Demo.InitialPrx.checkedCast(base)
if not initial:
print args[0] + ": invalid proxy"
- return False
+ return 1
print '\n'\
"Let's first transfer a simple object, for a class without\n"\
@@ -148,7 +148,7 @@ class Client(Ice.Application):
initial.shutdown()
- return True
+ return 0
app = Client()
sys.exit(app.main(sys.argv, "config.client"))