[Spambayes] Re: [Spambayes-checkins] spambayes tokenizer.py,1.31,1.32

Skip Montanaro skip@pobox.com
Mon, 23 Sep 2002 09:42:08 -0500


    Barry> Use the email 2.3 API, get_type() and friends ->
    Barry> get_content_type() and friends.  The latter always returns a
    Barry> content type string, never None.

Now I'm confused.  I just checked in a change to tokenizer.py that changed
a get_content_type() call to get_type().  The comparison is against
"application/octet-stream".  Should I have used something else?

Skip