diff options
author | Mark Spruiell <mes@zeroc.com> | 2012-04-24 14:16:15 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2012-04-24 14:16:15 -0700 |
commit | 943a48fc5c0a59b892eb746073c71b8dd88815e7 (patch) | |
tree | 421cfedbc60603d02e0b314d9204e9f85dd781c5 /py/test/Ice/operations/Client.py | |
parent | minor fix to IcePHP getLogger (diff) | |
download | ice-943a48fc5c0a59b892eb746073c71b8dd88815e7.tar.bz2 ice-943a48fc5c0a59b892eb746073c71b8dd88815e7.tar.xz ice-943a48fc5c0a59b892eb746073c71b8dd88815e7.zip |
python 3 support
Diffstat (limited to 'py/test/Ice/operations/Client.py')
-rwxr-xr-x | py/test/Ice/operations/Client.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/py/test/Ice/operations/Client.py b/py/test/Ice/operations/Client.py index 67c8ae96bf9..57450e3f8ac 100755 --- a/py/test/Ice/operations/Client.py +++ b/py/test/Ice/operations/Client.py @@ -14,7 +14,7 @@ import Ice import Ice slice_dir = Ice.getSliceDir() if not slice_dir: - print sys.argv[0] + ': Slice directory not found.' + print(sys.argv[0] + ': Slice directory not found.') sys.exit(1) Ice.loadSlice("'-I" + slice_dir + "' Test.ice") @@ -27,13 +27,14 @@ def test(b): def run(args, communicator): myClass = AllTests.allTests(communicator, False) - print "testing server shutdown...", + sys.stdout.write("testing server shutdown... ") + sys.stdout.flush() myClass.shutdown() try: myClass.opVoid() test(False) except Ice.LocalException: - print "ok" + print("ok") return True |