At Tue, 17 Feb 2004 15:37:07 -0700,
Jason R Mastaler wrote:
> 
> Did you test this?  It doesn't seem to work.
> 
[snip]
>   File "/users/jasonrm/cvs/tmda/dist11/TMDA/FilterParser.py", line 656, in 
> __buildactions
>     action = mo.group(2) + (mo.group(4) or mo.group(5))
> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
> 

Blush, I thought I tested that case: this is the explicit string
without exp= in front

I attach two patches. The first is a one-liner against the previous 
patched version (applies offset one line against todays CVS)
the second is the combination of the patch I sent before, and my
braino-fix.

here is a test from my outgoing filter. Did I miss any obvious cases?


to [EMAIL PROTECTED] tag
        envelope dated=7d
        reply-to keyword=drop
        from [EMAIL PROTECTED]
        x-answer python="6*7"
        x-question "life, the universe, and everything"
        x-SCO-Business-Plan shell="fortune"

Attachment: goof.patch
Description: Binary data

Attachment: fixed.patch
Description: Binary data

_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to