diff options
| author | uco (OpenERP) <uco@tinyerp.co.in> | 2010-04-29 19:04:28 +0530 |
|---|---|---|
| committer | uco (OpenERP) <uco@tinyerp.co.in> | 2010-04-29 19:04:28 +0530 |
| commit | f8eb44bfd9a225b3144a9a4e4037aaebdb33b4e3 (patch) | |
| tree | 377e306cde411ac5be066d066bdedccc5b6d75e7 /addons/fetchmail | |
| parent | 0479ed81bce80e1ac29ccf78fbf678f6ec59393b (diff) | |
| parent | 2113010824f542c9690e077e0d7601ee88fd22ad (diff) | |
[MERGE]: Merged with lp:~openerp-dev/openobject-addons/trunk-dev-addons1
bzr revid: uco@tinyerp.co.in-20100429133428-x7a9z3s9ykvc8gs5
Diffstat (limited to 'addons/fetchmail')
| -rw-r--r-- | addons/fetchmail/fetchmail.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/addons/fetchmail/fetchmail.py b/addons/fetchmail/fetchmail.py index 3639decf3dc..598ed4aad6f 100644 --- a/addons/fetchmail/fetchmail.py +++ b/addons/fetchmail/fetchmail.py @@ -339,10 +339,6 @@ class email_server(osv.osv): def fetch_mail(self, cr, uid, ids, context={}): - fp = os.popen('ping www.google.com -c 1 -w 5',"r") - if not fp.read(): - logger.notifyChannel('imap', netsvc.LOG_WARNING, 'lost internet connection !') - 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)) |
