diff options
| author | Ysa (Open ERP) <ysa@tinyerp.co.in> | 2010-04-29 10:19:02 +0530 |
|---|---|---|
| committer | Ysa (Open ERP) <ysa@tinyerp.co.in> | 2010-04-29 10:19:02 +0530 |
| commit | 784a88fe7cd39420b91a3a3ea52a07ea59e7b577 (patch) | |
| tree | df25219554a6f32652c4462cb57152619b65e04a /addons/fetchmail/fetchmail.py | |
| parent | 5094503f7b551c693cc330efc9a84fe212453b08 (diff) | |
| parent | e35f93dc5d69b9a17e45126d1508c7b532ebace2 (diff) | |
[MERGE] merge with lp:openobject-addons
bzr revid: ysa@tinyerp.co.in-20100429044902-pf0vmzrs1hb83dup
Diffstat (limited to 'addons/fetchmail/fetchmail.py')
| -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)) |
