diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2012-10-10 22:47:33 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2012-10-10 22:47:33 +0200 |
| commit | 1d365f0d50c36cd3b06a0c819fc00bd1ea554d88 (patch) | |
| tree | 65ec62e2da6394625c8fa33c85e7d7d540db0c33 /addons/google_docs/google_docs.py | |
| parent | dd5f5eca9bced12720fc1aad5b8cba605bd75b48 (diff) | |
| parent | e3cd2d5413626249dcf5ce9f97e692030978025d (diff) | |
[MERGE]
bzr revid: fp@openerp.com-20121010204733-eqg9lhokufm387tr
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' |
