From 446abaee2d8966a2ea10d4c6ccb3b2b4bfd06450 Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Sun, 9 Dec 2012 19:22:37 +0100 Subject: [PATCH] [FIX] incorrect import, prepare for wizard removal bzr revid: al@openerp.com-20121209182237-6yp9j6yyrnsa813y --- addons/google_docs/google_docs.py | 7 +++++-- addons/hr/__init__.py | 1 - addons/hr_evaluation/__init__.py | 1 - addons/hr_expense/__init__.py | 1 - addons/l10n_ma/__init__.py | 1 - 5 files changed, 5 insertions(+), 6 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 . # ############################################################################## +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): diff --git a/addons/hr/__init__.py b/addons/hr/__init__.py index 1ed86ab58bb..80becc6af70 100644 --- a/addons/hr/__init__.py +++ b/addons/hr/__init__.py @@ -23,7 +23,6 @@ import hr_department import hr import report -import wizard import res_config # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_evaluation/__init__.py b/addons/hr_evaluation/__init__.py index 0f403959cd9..af89630a94b 100644 --- a/addons/hr_evaluation/__init__.py +++ b/addons/hr_evaluation/__init__.py @@ -20,7 +20,6 @@ ############################################################################## import hr_evaluation -import wizard import report # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_expense/__init__.py b/addons/hr_expense/__init__.py index 55a87f95400..8a5a967e604 100644 --- a/addons/hr_expense/__init__.py +++ b/addons/hr_expense/__init__.py @@ -21,7 +21,6 @@ import hr_expense import report -import wizard # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_ma/__init__.py b/addons/l10n_ma/__init__.py index 070b09bdf33..7295cfdaae8 100644 --- a/addons/l10n_ma/__init__.py +++ b/addons/l10n_ma/__init__.py @@ -20,6 +20,5 @@ ############################################################################## import l10n_ma import report -import wizard # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: