equal
deleted
inserted
replaced
39 """ |
39 """ |
40 # override continuation_ws |
40 # override continuation_ws |
41 kw['continuation_ws'] = ' ' |
41 kw['continuation_ws'] = ' ' |
42 _oldheaderinit(self, *args, **kw) |
42 _oldheaderinit(self, *args, **kw) |
43 |
43 |
44 email.Header.Header.__dict__['__init__'] = _unifiedheaderinit |
44 setattr(email.header.Header, '__init__', _unifiedheaderinit) |
45 |
45 |
46 class STARTTLS(smtplib.SMTP): |
46 class STARTTLS(smtplib.SMTP): |
47 '''Derived class to verify the peer certificate for STARTTLS. |
47 '''Derived class to verify the peer certificate for STARTTLS. |
48 |
48 |
49 This class allows to pass any keyword arguments to SSL socket creation. |
49 This class allows to pass any keyword arguments to SSL socket creation. |