summaryrefslogtreecommitdiff
path: root/odoo/tools/lru.py
diff options
context:
space:
mode:
authorxmo-odoo <xmo@odoo.com>2017-04-28 09:06:53 +0200
committerGitHub <noreply@github.com>2017-04-28 09:06:53 +0200
commitb4429c2a91889bf60b56e0c7909c844d357363f7 (patch)
tree1ae879a60a34454b4a93425f0ebe7d5ccd029c03 /odoo/tools/lru.py
parentc5579ef89e2a595893d0959bef6fddfdbfb6d697 (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.py2
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']