diff options
| author | xmo-odoo <xmo@odoo.com> | 2017-04-28 09:06:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-28 09:06:53 +0200 |
| commit | b4429c2a91889bf60b56e0c7909c844d357363f7 (patch) | |
| tree | 1ae879a60a34454b4a93425f0ebe7d5ccd029c03 /odoo/tools/lru.py | |
| parent | c5579ef89e2a595893d0959bef6fddfdbfb6d697 (diff) | |
[FIX] Various P3-related import changes
* LDAP import: python-ldap is not python3-compatible, pyldap is
Warning: only supported from debian Stretch (current testing)?
https://packages.debian.org/search?searchon=names&keywords=pyldap
* implicitly relative imports
* imports of moved or removed stdlib modules
issue #8530
Diffstat (limited to 'odoo/tools/lru.py')
| -rw-r--r-- | odoo/tools/lru.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/tools/lru.py b/odoo/tools/lru.py index b0ea21bba44..7c485a039d3 100644 --- a/odoo/tools/lru.py +++ b/odoo/tools/lru.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # taken from http://code.activestate.com/recipes/252524-length-limited-o1-lru-cache-implementation/ import threading -from func import synchronized +from .func import synchronized __all__ = ['LRU'] |
