diff options
| author | Ajay Chauhan (OpenERP) <cha@tinyerp.com> | 2012-10-15 11:20:34 +0530 |
|---|---|---|
| committer | Ajay Chauhan (OpenERP) <cha@tinyerp.com> | 2012-10-15 11:20:34 +0530 |
| commit | 5ec8af18bec511f1efa0a64f1330ab444a4c52be (patch) | |
| tree | 771da12889a511a8fb6e59b7ecd27315867f8eea /addons/google_docs/google_docs.py | |
| parent | b5f940c04fe391c342a066c14ae4d7e6f2ef56ad (diff) | |
| parent | 7f23ad5de563eacfcae958d0011637800b097d4a (diff) | |
[MERGE] merge with lp:openobject-addons
bzr revid: cha@tinyerp.com-20121011052546-88zsqypdgt16etym
bzr revid: cha@tinyerp.com-20121012051404-9th4uopwj551b8ix
bzr revid: cha@tinyerp.com-20121015055034-tcoa0ool4enwgasz
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' |
