From 820c1200597606f95bb996586be88a3283c6448c Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 12 Jun 2008 04:06:45 +0000 Subject: Patch for issue 2848, mostly by Humberto Diogenes, with a couple of small fixes by Barry. This removes mimetools from the stdlib. --- Tools/scripts/mailerdaemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tools/scripts/mailerdaemon.py') diff --git a/Tools/scripts/mailerdaemon.py b/Tools/scripts/mailerdaemon.py index 6e3fda861e5..ee4199ed67c 100755 --- a/Tools/scripts/mailerdaemon.py +++ b/Tools/scripts/mailerdaemon.py @@ -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() -- cgit v1.2.3