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 /demoscript/Ice/invoke.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 'demoscript/Ice/invoke.py')
-rw-r--r-- | demoscript/Ice/invoke.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demoscript/Ice/invoke.py b/demoscript/Ice/invoke.py index 8120855930e..0b887c7147f 100644 --- a/demoscript/Ice/invoke.py +++ b/demoscript/Ice/invoke.py @@ -9,8 +9,7 @@ # ********************************************************************** import sys -from demoscript import * -from scripts import Expect +from demoscript import Util def runDemo(client, server): sys.stdout.flush() @@ -45,7 +44,8 @@ def runDemo(client, server): client.expect("Got string `hello' and class: s\\.name=green, s\\.value=green") def run(clientStr, server): - print "testing...", + sys.stdout.write("testing... ") + sys.stdout.flush() client = Util.spawn(clientStr) client.expect('==>') @@ -56,4 +56,4 @@ def run(clientStr, server): client.sendline('x') client.waitTestSuccess() - print "ok" + print("ok") |