[FIX] fetchmail: fix undeclared variable

bzr revid: rco@openerp.com-20120326122652-vcid96pm3pejzh1q
This commit is contained in:
Raphael Collet 2012-03-26 14:26:52 +02:00
parent 9abe80dbaf
commit 30e131fb45
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ class fetchmail_config_settings(osv.osv_memory):
_name = 'fetchmail.config.settings'
def get_default_fetchmail_servers(self, cr, uid, fields, context=None):
ir_model = self.pool.get('ir.model')
fetchmail_server = self.pool.get('fetchmail.server')
fetchmail_fields = [f for f in self._columns if f.startswith('fetchmail_')]
res = {}