ahh, decserver doesn't always echo
authorCameron Patrick <[email protected]>
Sun, 1 Aug 2004 06:41:04 +0000 (06:41 +0000)
committerCameron Patrick <[email protected]>
Sun, 1 Aug 2004 06:41:04 +0000 (06:41 +0000)
sql-edition/servers/LATClient.py

index dedc1ff..12cc47c 100644 (file)
@@ -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)

UCC git Repository :: git.ucc.asn.au