summaryrefslogtreecommitdiff
path: root/addons/google_docs/google_docs.py
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2012-10-16 10:40:18 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2012-10-16 10:40:18 +0200
commit5d6fe5cf3a1c3e08183c73118e30d05f81971fca (patch)
tree5adc4bdd6e2ad44ac3047920c21a61b08e06ea37 /addons/google_docs/google_docs.py
parente4e1803fb30bf09ee8cbcb6bf80905fa7261ad6d (diff)
parentdaa7ed0fb52a3fc195eaf370f0376bfbdbe3352f (diff)
Merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121015091705-wih9n5lulr4fmu9t bzr revid: nicolas.vanhoren@openerp.com-20121016084018-ckjvsczxc0qh02cg
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'