projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca2598f
)
[IMP]: fetchmail: improve the log message
author
Bhumika (OpenERP)
<sbh@tinyerp.com>
Fri, 17 Jun 2011 08:27:38 +0000
(13:57 +0530)
committer
Bhumika (OpenERP)
<sbh@tinyerp.com>
Fri, 17 Jun 2011 08:27:38 +0000
(13:57 +0530)
bzr revid: sbh@tinyerp.com-
20110617082738
-i0umdo9cptek6l4j
addons/fetchmail/fetchmail.py
patch
|
blob
|
history
diff --git
a/addons/fetchmail/fetchmail.py
b/addons/fetchmail/fetchmail.py
index
58a580d
..
386b48f
100644
(file)
--- a/
addons/fetchmail/fetchmail.py
+++ b/
addons/fetchmail/fetchmail.py
@@
-116,7
+116,7
@@
class email_server(osv.osv):
if context is None:
context = {}
for server in self.browse(cr, uid, ids, context=context):
- logger.notifyChannel('imap', netsvc.LOG_INFO, 'fetchmail start checking for new emails on %s' % (server.name))
+ logger.notifyChannel(server.type, netsvc.LOG_INFO, 'fetchmail start checking for new emails on %s' % (server.name))
context.update({'server_id': server.id, 'server_type': server.type})
try:
if server.type == 'imap':