diff options
author | Guido van Rossum <guido@python.org> | 1995-10-07 19:27:20 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-10-07 19:27:20 (GMT) |
commit | 5a6ad8fb71501ec050f5ab6dac2763da0bf1f89e (patch) | |
tree | 7e7a031360b1738df1c664bad1b6afe499953383 /Demo | |
parent | 11bb1743b61535aeb06c512283b17a07a3cb9233 (diff) | |
download | cpython-5a6ad8fb71501ec050f5ab6dac2763da0bf1f89e.zip cpython-5a6ad8fb71501ec050f5ab6dac2763da0bf1f89e.tar.gz cpython-5a6ad8fb71501ec050f5ab6dac2763da0bf1f89e.tar.bz2 |
flush before reading response from socket
Diffstat (limited to 'Demo')
-rwxr-xr-x | Demo/pdist/client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Demo/pdist/client.py b/Demo/pdist/client.py index d8f210e..3e93f1c 100755 --- a/Demo/pdist/client.py +++ b/Demo/pdist/client.py @@ -135,6 +135,7 @@ class SecureClient(Client, Security): import string apply(self._pre_init, args) Security.__init__(self) + self._wf.flush() line = self._rf.readline() challenge = string.atoi(string.strip(line)) response = self._encode_challenge(challenge) |