diff options
| author | Saurang Suthar <ssu@tinyerp.com> | 2012-10-12 11:53:37 +0530 |
|---|---|---|
| committer | Saurang Suthar <ssu@tinyerp.com> | 2012-10-12 11:53:37 +0530 |
| commit | 40c43f21d37eb4c61d4fe578cd03c7c365a301bb (patch) | |
| tree | 872a68d9cc133c23486e63b477075b9f795fc275 /addons/google_docs/google_docs.py | |
| parent | 229758122dba321d53ddeef2804aad6c95fc4da6 (diff) | |
| parent | f830a534d67cd34dc4b98f9207cbaab6fd80e966 (diff) | |
[MERGE]:merged with latest addons
bzr revid: ssu@tinyerp.com-20121012062337-4cjzskoxb77d5dme
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' |
