summaryrefslogtreecommitdiff
path: root/py/demo/Ice/value/Client.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-03-01 13:12:23 +0000
committerDwayne Boone <dwayne@zeroc.com>2007-03-01 13:12:23 +0000
commit6799cc28d8c40559cfe84476ea7a89b25baaae39 (patch)
tree695b40a884ca8af0bb0b076e42d174574a89b1fa /py/demo/Ice/value/Client.py
parentFixed warning/error messages to be on a single line (diff)
downloadice-6799cc28d8c40559cfe84476ea7a89b25baaae39.tar.bz2
ice-6799cc28d8c40559cfe84476ea7a89b25baaae39.tar.xz
ice-6799cc28d8c40559cfe84476ea7a89b25baaae39.zip
Bug 1894 - fix return code
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"))