From 40e17947a5da57fefc76768a23f55a9b9aed6e92 Mon Sep 17 00:00:00 2001 From: Cameron Patrick Date: Sun, 1 Aug 2004 06:41:04 +0000 Subject: [PATCH] ahh, decserver doesn't always echo --- sql-edition/servers/LATClient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql-edition/servers/LATClient.py b/sql-edition/servers/LATClient.py index dedc1ff..12cc47c 100644 --- a/sql-edition/servers/LATClient.py +++ b/sql-edition/servers/LATClient.py @@ -99,9 +99,9 @@ class LATClient: self.sock.close() mopw, mopr = popen4('/usr/sbin/moprc '+self.server_name) read_for_a_bit(mopr) - write_expecting_echo(mopr, mopw, '\n') + mopw.write('\n') read_for_a_bit(mopr) - write_expecting_echo(mopr, mopw, self.connect_password+'\n') + mopw.write(self.connect_password+'\n') read_for_a_bit(mopr) write_expecting_echo(mopr, mopw, 'grim reaper\n') read_for_a_bit(mopr) -- 2.20.1