diff options
| author | Xavier ALT <xal@openerp.com> | 2012-12-21 11:03:30 +0100 |
|---|---|---|
| committer | Xavier ALT <xal@openerp.com> | 2012-12-21 11:03:30 +0100 |
| commit | 6f0f58562d1918d89bbdd6e05cb46f5f0ffd9b02 (patch) | |
| tree | 53b02fa949afd8e84f938bc77c9ce478089b6148 /addons/google_docs/google_docs.py | |
| parent | afc2b06042284a122dc44cbd8f85f55a1cd99874 (diff) | |
| parent | 1dbea4a07a37325e420e26b3429e4a27f3e8e308 (diff) | |
[MERGE] sync with latest trunk @2012-12-21
bzr revid: xal@openerp.com-20121221100330-b0aw0q6txzbq9t0g
Diffstat (limited to 'addons/google_docs/google_docs.py')
| -rw-r--r-- | addons/google_docs/google_docs.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py index 462c8240810..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 tools import DEFAULT_SERVER_DATETIME_FORMAT -from osv import osv, fields -from tools.translate import _ + +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): |
