mirror of
https://github.com/python/cpython.git
synced 2025-07-13 06:15:17 +00:00
Patch for issue 2848, mostly by Humberto Diogenes, with a couple of
small fixes by Barry. This removes mimetools from the stdlib.
This commit is contained in:
parent
75f25f2c9a
commit
820c120059
23 changed files with 146 additions and 202 deletions
|
@ -14,7 +14,7 @@ class ErrorMessage(rfc822.Message):
|
|||
self.sub = ''
|
||||
|
||||
def is_warning(self):
|
||||
sub = self.getheader('Subject')
|
||||
sub = self.get('Subject')
|
||||
if not sub:
|
||||
return 0
|
||||
sub = sub.lower()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue