diff options
| author | Jagdish Panchal (Open ERP) <jap@tinyerp.com> | 2012-04-05 10:38:39 +0530 |
|---|---|---|
| committer | Jagdish Panchal (Open ERP) <jap@tinyerp.com> | 2012-04-05 10:38:39 +0530 |
| commit | 8eb0e42abe097024c5100bf5c8d8abf9e217609d (patch) | |
| tree | 88bb50dcc316ae24549fd01adb98630f40a71919 /addons/fetchmail/fetchmail.py | |
| parent | 49197686fd31153582be8a1a57c6a687178f1614 (diff) | |
| parent | c3743bbdb83df738a2f5c3d3584102f79542e791 (diff) | |
[MERGE] branch merge with lp:~openerp-dev/openobject-addons/trunk-v62_config
bzr revid: jap@tinyerp.com-20120405050839-97ifqjla5bz48duc
Diffstat (limited to 'addons/fetchmail/fetchmail.py')
| -rw-r--r-- | addons/fetchmail/fetchmail.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/fetchmail/fetchmail.py b/addons/fetchmail/fetchmail.py index d1e23f49166..51702cf28fe 100644 --- a/addons/fetchmail/fetchmail.py +++ b/addons/fetchmail/fetchmail.py @@ -180,6 +180,8 @@ openerp_mailgate.py -u %(uid)d -p PASSWORD -o %(model)s -d %(dbname)s --host=HOS logger.info('start checking for new emails on %s server %s', server.type, server.name) context.update({'fetchmail_server_id': server.id, 'server_type': server.type}) count = 0 + imap_server = False + pop_server = False if server.type == 'imap': try: imap_server = server.connect() |
