diff options
author | Matthew Newhook <matthew@zeroc.com> | 2012-11-30 12:02:35 -0330 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2012-11-30 12:02:35 -0330 |
commit | f0285376f626c72a3ee221ac3fd5158aabf0ebe8 (patch) | |
tree | ba322ee197aefd9e863219f89c1d8e8b133c1c25 /scripts/Expect.py | |
parent | IceBox VB demo configuration fix. (diff) | |
download | ice-f0285376f626c72a3ee221ac3fd5158aabf0ebe8.tar.bz2 ice-f0285376f626c72a3ee221ac3fd5158aabf0ebe8.tar.xz ice-f0285376f626c72a3ee221ac3fd5158aabf0ebe8.zip |
ICE-5012 Demo script failures
Diffstat (limited to 'scripts/Expect.py')
-rwxr-xr-x | scripts/Expect.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/Expect.py b/scripts/Expect.py index 0f104ccb56f..b296e3e9a83 100755 --- a/scripts/Expect.py +++ b/scripts/Expect.py @@ -425,12 +425,11 @@ class Expect (object): if self.logfile: self.logfile.write('%s: sendline: "%s"\n' % (self.desc, escape(data))) self.logfile.flush() + data = data + "\n" if win32 or sys.version_info[0] == 2: self.p.stdin.write(data) - self.p.stdin.write("\n") else: self.p.stdin.write(data.encode("utf-8")) - self.p.stdin.write("\n".encode("utf-8")) def wait(self, timeout = None): """Wait for the application to terminate for up to timeout seconds, or |