summaryrefslogtreecommitdiff
path: root/addons/google_docs/google_docs.py
diff options
context:
space:
mode:
authorAmit Patel <apa@tinyerp.com>2012-10-15 11:51:54 +0530
committerAmit Patel <apa@tinyerp.com>2012-10-15 11:51:54 +0530
commit5b9f60327296e310b524f3a28c67e00b24f1f02b (patch)
treebe26c49b01383a3dfe4469527765018a97ad2c97 /addons/google_docs/google_docs.py
parentfc94df2af5146d2780da3b07bf1fad78e6831889 (diff)
parent7f23ad5de563eacfcae958d0011637800b097d4a (diff)
[MERGE]:trunk
bzr revid: apa@tinyerp.com-20121015062154-9yv7a92uyf2ngv9g
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'