[Spambayes-checkins] spambayes
Options.py,1.23,1.24tokenizer.py,1.30,1.31
Skip Montanaro
skip@pobox.com
Mon, 23 Sep 2002 07:57:47 -0500
>>>>> "Tim" == Tim Peters <tim.one@comcast.net> writes:
>> + def octetparts(msg):
>> + return Set(filter(lambda part:
>> + part.get_content_type() ==
>> 'application/octet-stream',
>> + msg.walk()))
Tim> I think Guido got rid of all uses of get_content_type, so that this
Tim> code could be used with an older email pkg.
What is the correct replacement, part.get_type()?
Skip