diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-03-01 13:12:23 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-03-01 13:12:23 +0000 |
commit | 6799cc28d8c40559cfe84476ea7a89b25baaae39 (patch) | |
tree | 695b40a884ca8af0bb0b076e42d174574a89b1fa /py/demo/Ice/async/Client.py | |
parent | Fixed warning/error messages to be on a single line (diff) | |
download | ice-6799cc28d8c40559cfe84476ea7a89b25baaae39.tar.bz2 ice-6799cc28d8c40559cfe84476ea7a89b25baaae39.tar.xz ice-6799cc28d8c40559cfe84476ea7a89b25baaae39.zip |
Bug 1894 - fix return code
Diffstat (limited to 'py/demo/Ice/async/Client.py')
-rw-r--r-- | py/demo/Ice/async/Client.py | 4 |
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")) |