summaryrefslogtreecommitdiff
path: root/addons/google_docs/google_docs.py
diff options
context:
space:
mode:
authorVo Minh Thu <vmt@openerp.com>2012-12-10 12:16:54 +0100
committerVo Minh Thu <vmt@openerp.com>2012-12-10 12:16:54 +0100
commit6072fd11afb076b1781e23096a8c8794df3a00c7 (patch)
tree86dc0d9ab3ce793dcc6c3805a1ed5b54a89c33c1 /addons/google_docs/google_docs.py
parentca89ae8f7195f752bfa6f2effd57e11f1d498558 (diff)
parent590add54d41062e2638d751b52a46e626b8e368c (diff)
[MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121210111654-0pm3pupnqqeip52n
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 21a340743ce..ac0cf68f3f6 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 openerp.tools import DEFAULT_SERVER_DATETIME_FORMAT
from openerp.osv import fields, osv
from openerp.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):