diff options
| author | Jalpesh Patel (OpenERP) <pja@tinyerp.com> | 2012-10-15 12:34:44 +0530 |
|---|---|---|
| committer | Jalpesh Patel (OpenERP) <pja@tinyerp.com> | 2012-10-15 12:34:44 +0530 |
| commit | ac59d3c803093144b26e1b06da03009e857841b8 (patch) | |
| tree | e835356a5ed7c9881a5f01bd20d09e1dc5a1ace4 /addons/google_docs/google_docs.py | |
| parent | d87786fd413ece1edd68df29b933c842c17124aa (diff) | |
| parent | 7f23ad5de563eacfcae958d0011637800b097d4a (diff) | |
[Merge] Merge with lp:openobject-addons
bzr revid: pja@tinyerp.com-20121015070444-l4i3awjpbpcfrurd
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' |
