summaryrefslogtreecommitdiff
path: root/addons/google_docs/google_docs.py
diff options
context:
space:
mode:
authorFrédéric van der Essen <fva@openerp.com>2012-10-17 16:05:09 +0200
committerFrédéric van der Essen <fva@openerp.com>2012-10-17 16:05:09 +0200
commitcbdb0ccf9c03fc2f9eef6b447d5c42df64ba3e4b (patch)
tree6e373389997ee6cff6273ede9a6e3a1b1c7e23e2 /addons/google_docs/google_docs.py
parent3f48855822d1532e6b6284222307b3674642cb52 (diff)
parent04eef2c7a0775a0c6c7252c990d5c691effc262e (diff)
[MERGE] from trunk
bzr revid: fva@openerp.com-20121017140509-67yq1gjzrs871hb6
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'