diff options
| author | Harry (OpenERP) <hmo@tinyerp.com> | 2010-12-13 19:07:54 +0530 |
|---|---|---|
| committer | Harry (OpenERP) <hmo@tinyerp.com> | 2010-12-13 19:07:54 +0530 |
| commit | e55bd7051cdfcc53b81f73e0797722510c9ccc01 (patch) | |
| tree | c3a1babeeecda270356e963649e08acdeb262d01 /addons/fetchmail/fetchmail.py | |
| parent | 5bb14725d4534fe0e4f66ab4d9fdca0afd73b74e (diff) | |
[FIX] openerp-buildfail-1-3691: remove tab char in line#72 and local variable count is assigned to but never used into fetchmail/fetchmail.py
bzr revid: hmo@tinyerp.com-20101213133754-8ucpt5in5qod8gjd
Diffstat (limited to 'addons/fetchmail/fetchmail.py')
| -rw-r--r-- | addons/fetchmail/fetchmail.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/fetchmail/fetchmail.py b/addons/fetchmail/fetchmail.py index 8bebe514402..7592061ec36 100644 --- a/addons/fetchmail/fetchmail.py +++ b/addons/fetchmail/fetchmail.py @@ -72,7 +72,7 @@ class email_server(osv.osv): } def check_duplicate(self, cr, uid, ids): - # RFC *-* Why this limitation? why not in SQL constraint? + # RFC *-* Why this limitation? why not in SQL constraint? vals = self.read(cr, uid, ids, ['user', 'password'])[0] cr.execute("select count(id) from email_server where user=%s and password=%s", (vals['user'], vals['password'])) res = cr.fetchone() @@ -113,7 +113,6 @@ class email_server(osv.osv): for server in self.browse(cr, uid, ids, context): logger.notifyChannel('imap', netsvc.LOG_INFO, 'fetchmail start checking for new emails on %s' % (server.name)) context.update({'server_id': server.id, 'server_type': server.type}) - count = 0 try: if server.type == 'imap': imap_server = None |
