diff options
| author | Pinakin Nayi (OpenERP) <pna@tinyerp.com> | 2012-07-12 17:54:59 +0530 |
|---|---|---|
| committer | Pinakin Nayi (OpenERP) <pna@tinyerp.com> | 2012-07-12 17:54:59 +0530 |
| commit | 62e4a52f2d524c22d3fb17ac781984594a5b4741 (patch) | |
| tree | 08c16c420c93fd9d59a2f23b3a51acddd52b7104 /addons/fetchmail/fetchmail.py | |
| parent | 6cbb04758af8d1e7056df3eadbf1b490b958b0b5 (diff) | |
[IMP]edi-event-email_template-fetchmail-warning-msg
bzr revid: pna@tinyerp.com-20120712122459-hvvxq5nqrtfxv3ei
Diffstat (limited to 'addons/fetchmail/fetchmail.py')
| -rw-r--r-- | addons/fetchmail/fetchmail.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/fetchmail/fetchmail.py b/addons/fetchmail/fetchmail.py index 55923c3043a..06b4819ffde 100644 --- a/addons/fetchmail/fetchmail.py +++ b/addons/fetchmail/fetchmail.py @@ -151,8 +151,8 @@ openerp_mailgate.py -u %(uid)d -p PASSWORD -o %(model)s -d %(dbname)s --host=HOS connection = server.connect() server.write({'state':'done'}) except Exception, e: - _logger.exception("Failed to connect to %s server %s", server.type, server.name) - raise osv.except_osv(_("Connection test failed!"), _("Here is what we got instead:\n %s") % tools.ustr(e)) + _logger.exception("Failed to connect to %s server %s.", server.type, server.name) + raise osv.except_osv(_("Connection test failed!"), _("Here is what we got instead:\n %s.") % tools.ustr(e)) finally: try: if connection: |
