From b75dde91c0bbd692375558995830c4b754d02d75 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Wed, 1 May 2013 08:22:51 +0200 Subject: [PATCH] [FIX] don't call search_matches with browse_null as this can cause a practically infinite loop --- fetchmail_attach_from_folder/model/fetchmail_server.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/fetchmail_attach_from_folder/model/fetchmail_server.py b/fetchmail_attach_from_folder/model/fetchmail_server.py index 5efdf4754..d043f9bc6 100644 --- a/fetchmail_attach_from_folder/model/fetchmail_server.py +++ b/fetchmail_attach_from_folder/model/fetchmail_server.py @@ -241,8 +241,6 @@ class fetchmail_server(Model): raise except_orm( _('Error'), _('Mailbox %s not found!') % folder.path) - folder.get_algorithm().search_matches( - cr, uid, folder, browse_null(), '') connection.close() this.write({'state': 'done'})