diff options
| author | Olivier Dony <odo@openerp.com> | 2012-12-11 18:01:19 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2012-12-11 18:01:19 +0100 |
| commit | 5b56a77add9a4f92b5cf2f84d419caff9b0dc4e6 (patch) | |
| tree | e1f7f576fa8944d2d72e64876e7c42327e5d8879 /addons/google_docs/google_docs.py | |
| parent | f5fd0fc0815190b3e80854a8ad0afa7a5d1271c4 (diff) | |
| parent | 33ae7185620cec8e621f7cec592db82c6b9e12fe (diff) | |
[MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121211170119-5spf2iqzl89kphnk
Diffstat (limited to 'addons/google_docs/google_docs.py')
| -rw-r--r-- | addons/google_docs/google_docs.py | 7 |
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): |
