diff options
| author | Raphael Collet <rco@openerp.com> | 2016-09-02 16:16:50 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2016-09-02 17:28:12 +0200 |
| commit | 4a700d0ad9eecb00233f734042a96c3959aa7e83 (patch) | |
| tree | 7dffd79a4d3d7e19110a0f509e37ff8ff9eedc36 /odoo/tools/cache.py | |
| parent | 9e64f9f9514194d74e166b032add8511182f2677 (diff) | |
[FIX] odoo: rename imports and adapt import hooks
Diffstat (limited to 'odoo/tools/cache.py')
| -rw-r--r-- | odoo/tools/cache.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odoo/tools/cache.py b/odoo/tools/cache.py index e71ab9dd121..ac776eefa74 100644 --- a/odoo/tools/cache.py +++ b/odoo/tools/cache.py @@ -2,7 +2,7 @@ # Part of Odoo. See LICENSE file for full copyright and licensing details. # decorator makes wrappers that have the same API as their wrapped function; -# this is important for the openerp.api.guess() that relies on signatures +# this is important for the odoo.api.guess() that relies on signatures from collections import defaultdict from decorator import decorator from inspect import formatargspec, getargspec @@ -196,7 +196,7 @@ class dummy_cache(object): def log_ormcache_stats(sig=None, frame=None): """ Log statistics of ormcache usage by database, model, and method. """ - from openerp.modules.registry import Registry + from odoo.modules.registry import Registry import threading me = threading.currentThread() |
