summaryrefslogtreecommitdiff
path: root/demoscript/Ice/invoke.py
diff options
context:
space:
mode:
Diffstat (limited to 'demoscript/Ice/invoke.py')
-rw-r--r--demoscript/Ice/invoke.py8
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")