#39 BUG in code to check if sender already in whitelist

closed-fixed
None
5
2004-06-06
2004-06-04
No

In askmessage.py, in the __add_to_list function there's the line:

if self.__inlist(filenames, sender=email,
recipients="@@@@@@@@@", subj="@@@@@@@@@"):

This causes problems when recipients is used in the __inline function,
because __inline expects the value of recipients to be a tuple. This
causes a Python error exit.

Replacing the above with:

if self.__inlist(filenames, sender=email,
recipients=[("@@@@@@@@@", "@@@@@@@@@")],
subj="@@@@@@@@@"):

Solves the problem.

Discussion

  • Marco Paganini

    Marco Paganini - 2004-06-06

    Logged In: YES
    user_id=52555

    Thanks for the bug report. This problem has been fixed in
    the CVS version.

     
  • Marco Paganini

    Marco Paganini - 2004-06-06
    • assigned_to: nobody --> paganini
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks