diff options
| author | Olivier Dony <odo@openerp.com> | 2010-11-24 17:38:40 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2010-11-24 17:38:40 +0100 |
| commit | 458d7c7dea7a6e3fd53fae9c8f460326fe4e4ff3 (patch) | |
| tree | 5b8a23013bec13172c6c39c395672678c1bfa6a7 | |
| parent | af506691a34538d51a8565f82054e175790613c2 (diff) | |
[FIX] addons.__init__: fixed mismatching logger API usage
bzr revid: odo@openerp.com-20101124163840-eyctlqtgjfq9h1u0
| -rw-r--r-- | bin/addons/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/addons/__init__.py b/bin/addons/__init__.py index 9fedd3bbdf4..8bc280b73ad 100644 --- a/bin/addons/__init__.py +++ b/bin/addons/__init__.py @@ -874,7 +874,7 @@ def load_modules(db, force_demo=False, status=None, update_module=False): if obj: obj._check_removed_columns(cr, log=True) else: - logger.warning("Model %s is referenced but not present in the orm pool!", model) + logger.notifyChannel('init', netsvc.LOG_WARNING, "Model %s is referenced but not present in the orm pool!" % model) if report.get_report(): logger.notifyChannel('init', netsvc.LOG_INFO, report) |
