summaryrefslogtreecommitdiff
path: root/addons/google_docs/google_docs.py
diff options
context:
space:
mode:
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>2012-10-12 09:38:37 +0200
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>2012-10-12 09:38:37 +0200
commit4d95ab99245c7325c99a097f5b31d6364ae43923 (patch)
tree25ea6db17b618cdc03147f97bac8a1618ee40478 /addons/google_docs/google_docs.py
parent6eaf6337adeba22e4e66811538bf25b78c7bbe3b (diff)
parent00f3dfc6d8b8c51cd7de514c12818fe63c820fd4 (diff)
[MERGE] trunk
bzr revid: qdp-launchpad@openerp.com-20121012073837-fba6n3mvk4htuxw2
Diffstat (limited to 'addons/google_docs/google_docs.py')
-rw-r--r--addons/google_docs/google_docs.py5
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'