[Spambayes] Re: imapfilter mangling headers!

Meyer, Tony T.A.Meyer at massey.ac.nz
Sat Apr 19 13:09:50 EDT 2003


> And here's another problem:
[...]
>   File "./imapfilter.py", line 181, in extractTime
>     return imaplib.Time2Internaldate(\
> TypeError: argument must be 9-item sequence, not None
> 
> Compilation exited abnormally with code 1 at Fri Apr 18 15:49:18

I've found this.  The email message class returns None if a header isn't
found (i.e. message["header_that_doesn't exist"] returns None) rather
than raising an exception; who knows why, but that's what it does.

I've checked in a fix for this.

=Tony Meyer



More information about the Spambayes mailing list