diff options
| author | Atul Patel (OpenERP) <atp@tinyerp.com> | 2012-10-16 23:25:36 +0530 |
|---|---|---|
| committer | Atul Patel (OpenERP) <atp@tinyerp.com> | 2012-10-16 23:25:36 +0530 |
| commit | a9fa006d52e5209a4e44829c735de1fad4d5619e (patch) | |
| tree | 822a484637514619f3e50cc1b26d920cceb32526 /addons/google_docs/google_docs.py | |
| parent | e16bd157d9bbe332aefd807a044949c451169cb6 (diff) | |
| parent | 44b468c4664447af693ff772fe0c5a07448e6745 (diff) | |
[MERGE]: Merged with lp:openobject-addons
bzr revid: nco@tinyerp.com-20121010052527-j2vq0brfl7haornw
bzr revid: nco@tinyerp.com-20121012090351-oq3hdd7lsu8nrmor
bzr revid: atp@tinyerp.com-20121016175536-aw2c8lj15roc061u
Diffstat (limited to 'addons/google_docs/google_docs.py')
| -rw-r--r-- | addons/google_docs/google_docs.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py index f1477f9c7f2..5ff80530c94 100644 --- a/addons/google_docs/google_docs.py +++ b/addons/google_docs/google_docs.py @@ -26,8 +26,11 @@ try: from gdata.client import RequestError from gdata.docs.service import DOCUMENT_LABEL import gdata.auth + from gdata.docs.data import Resource except ImportError: - raise osv.except_osv(_('Google Docs Error!'), _('Please install gdata-python-client from http://code.google.com/p/gdata-python-client/downloads/list.')) + import logging + _logger = logging.getLogger(__name__) + _logger.warning("Please install latest gdata-python-client from http://code.google.com/p/gdata-python-client/downloads/list") class google_docs_ir_attachment(osv.osv): _inherit = 'ir.attachment' |
