diff options
Diffstat (limited to 'demoscript/Ice/async.py')
-rwxr-xr-x | demoscript/Ice/async.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demoscript/Ice/async.py b/demoscript/Ice/async.py index 8ac21ff38ba..10c6b48ac63 100755 --- a/demoscript/Ice/async.py +++ b/demoscript/Ice/async.py @@ -9,7 +9,7 @@ # ********************************************************************** import sys -import demoscript.pexpect as pexpect +from demoscript import * def run(client, server): print "testing client... ", @@ -19,7 +19,7 @@ def run(client, server): client.sendline('d') try: server.expect('Hello World!', timeout=1) - except pexpect.TIMEOUT: + except Expect.TIMEOUT: pass client.sendline('i') server.expect('Hello World!') |