diff options
| author | Olivier Dony <odo@openerp.com> | 2017-05-16 18:23:03 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2017-05-16 18:23:15 +0200 |
| commit | 5f4db9df6640100302ab7967344e12ab877089cb (patch) | |
| tree | 934f0ceb590fb72846c12cb046d96ff609554951 /odoo/tools/cache.py | |
| parent | cbca7e13132fe807ac918d9b3c2fcbbb3a12a103 (diff) | |
| parent | 5afe894f440eff3b58134d14fa7c9b43b19fe88b (diff) | |
[MERGE] Forward-port saas-16 up to 5afe894f440eff3b58134d14fa7c9b43b19fe88b
Diffstat (limited to 'odoo/tools/cache.py')
| -rw-r--r-- | odoo/tools/cache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/tools/cache.py b/odoo/tools/cache.py index acc01895a48..2554331ce9b 100644 --- a/odoo/tools/cache.py +++ b/odoo/tools/cache.py @@ -200,7 +200,7 @@ def log_ormcache_stats(sig=None, frame=None): import threading me = threading.currentThread() - me_dbname = me.dbname + me_dbname = getattr(me, 'dbname', 'n/a') entries = defaultdict(int) for dbname, reg in pycompat.items(Registry.registries): for key in reg.cache: |
