summaryrefslogtreecommitdiff
path: root/addons/google_docs/google_docs.py
diff options
context:
space:
mode:
authorJiten (OpenERP) <jra@tinyerp.com>2012-12-10 14:09:52 +0530
committerJiten (OpenERP) <jra@tinyerp.com>2012-12-10 14:09:52 +0530
commitfd1e69a63855d8950db28bc521cb0c4f73e47de2 (patch)
tree593b76507b90cd8c7d90157ea90d29404879577d /addons/google_docs/google_docs.py
parent0ed3f4e91b7fbbc2df7c3f0f45eb5b9529c2c23d (diff)
parent7f1d5daf2f7a137a470a4a72779408edf7995910 (diff)
[MER] Merged trunk.
bzr revid: jra@tinyerp.com-20121210083952-fhjlo40g55d7ngf4
Diffstat (limited to 'addons/google_docs/google_docs.py')
-rw-r--r--addons/google_docs/google_docs.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py
index 462c8240810..1f6af0378ca 100644
--- a/addons/google_docs/google_docs.py
+++ b/addons/google_docs/google_docs.py
@@ -17,10 +17,15 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
+import logging
from datetime import datetime
+
from tools import DEFAULT_SERVER_DATETIME_FORMAT
from osv import osv, fields
from tools.translate import _
+
+_logger = logging.getLogger(__name__)
+
try:
import gdata.docs.data
import gdata.docs.client
@@ -29,8 +34,6 @@ try:
import gdata.auth
from gdata.docs.data import Resource
except ImportError:
- 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):