On 23 May 2011, at 9:57 AM, Alberto Caso wrote:

> if quarantine_form.cleaned_data['todelete']:
> #delete
> import os
> if os.path.exists(file_name):
>       try:
>               os.remove(file_name)
>               message_details.quarantined = 0
>               message_details.save()
> 
> With "message_details.quarantined = 0" making me think the message
> indeed should not be shown in the Quarantine list anymore and me looking
> for time to debug what seemed to be an issue in our installation and not
> the expected behavior

That is spot on, if the message is deleted off disk, the quarantined flag is set
off, meaning the message will appear in the full listing but not under 
quarantine
and it will not have the message operations options (release, learn, delete)
anymore when displayed.

--
Baruwa - www.baruwa.org

_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa

Reply via email to