summaryrefslogtreecommitdiff
path: root/addons/google_docs/google_docs.py
diff options
context:
space:
mode:
authorAtul Patel (OpenERP) <atp@tinyerp.com>2012-10-16 23:19:59 +0530
committerAtul Patel (OpenERP) <atp@tinyerp.com>2012-10-16 23:19:59 +0530
commit55df644fe2b75a9f578ce2c37a5822208634f8c0 (patch)
tree462828d8f24bde8c01f02591408bea4537dc3fe7 /addons/google_docs/google_docs.py
parent7c3b223618e5ac5d9fe3d3b9fe1162621f2e7802 (diff)
parent44b468c4664447af693ff772fe0c5a07448e6745 (diff)
[MERGE]: Merged with lp:openobject-addons
bzr revid: pja@tinyerp.com-20121012091635-abpnv2d1qzywdwxa bzr revid: pja@tinyerp.com-20121015050452-trjnnf7jfsxiixmj bzr revid: atp@tinyerp.com-20121016174959-6xkd1nhthg0obpiu
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'