diff options
Diffstat (limited to 'py/test/Ice/faultTolerance/Server.py')
-rwxr-xr-x | py/test/Ice/faultTolerance/Server.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/py/test/Ice/faultTolerance/Server.py b/py/test/Ice/faultTolerance/Server.py index dbc69708beb..b1b6b277d3f 100755 --- a/py/test/Ice/faultTolerance/Server.py +++ b/py/test/Ice/faultTolerance/Server.py @@ -22,7 +22,7 @@ class TestI(Test.TestIntf): current.adapter.getCommunicator().shutdown() def abort(self, current=None): - print "aborting..." + sys.stdout.write("aborting...") os._exit(0) def idempotentAbort(self, current=None): @@ -35,18 +35,18 @@ def run(args, communicator): port = 0 for arg in args[1:]: if arg[0] == '-': - print >> sys.stderr, args[0] + ": unknown option `" + arg + "'" + sys.stderr.write(args[0] + ": unknown option `" + arg + "'\n") usage(args[0]) return False if port > 0: - print >> sys.stderr, args[0] + ": only one port can be specified" + sys.stderr.write(args[0] + ": only one port can be specified\n") usage(args[0]) return False port = int(arg) if port <= 0: - print >> sys.stderr, args[0] + ": no port specified" + sys.stderr.write(args[0] + ": no port specified\n") usage(args[0]) return False |