send(), ehlo(): Integrate patch #487310 by Fazal Majid. Consistently
authorBarry Warsaw <barry@python.org>
Fri, 14 Dec 2001 20:34:20 +0000 (20:34 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 14 Dec 2001 20:34:20 +0000 (20:34 +0000)
commit7675097d78999b7087a487b479b388ef7a7aa91e
tree385762d4613d52fb6f495f1e9ff78dc69048f9ec
parent19554f60c29fbea536efd906d96f00964c37ec01
send(), ehlo(): Integrate patch #487310 by Fazal Majid.  Consistently
call self.close() just before raising SMTPServerDisconnected.  This
allows you to, e.g. reconnect after a server timeout.

Merged from the 2.2c1 branch.
Lib/smtplib.py