diff options
Diffstat (limited to 'py/demo/Ice/throughput/Client.py')
-rw-r--r-- | py/demo/Ice/throughput/Client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/demo/Ice/throughput/Client.py b/py/demo/Ice/throughput/Client.py index fc5ff5de065..2951830deaa 100644 --- a/py/demo/Ice/throughput/Client.py +++ b/py/demo/Ice/throughput/Client.py @@ -40,7 +40,7 @@ class Client(Ice.Application): throughput = Demo.ThroughputPrx.checkedCast(self.communicator().propertyToProxy('Throughput.Throughput')) if not throughput: print args[0] + ": invalid proxy" - return False + return 1 throughputOneway = Demo.ThroughputPrx.uncheckedCast(throughput.ice_oneway()) bytes = [] @@ -190,7 +190,7 @@ class Client(Ice.Application): except KeyboardInterrupt: break - return True + return 0 app = Client() sys.exit(app.main(sys.argv, "config.client")) |