summaryrefslogtreecommitdiff
path: root/odoo/exceptions.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/exceptions.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/exceptions.py')
-rw-r--r--odoo/exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/exceptions.py b/odoo/exceptions.py
index d83e350c624..1facc6207cb 100644
--- a/odoo/exceptions.py
+++ b/odoo/exceptions.py
@@ -12,7 +12,7 @@ If you consider introducing new exceptions, check out the test_exceptions addon.
import logging
from inspect import currentframe
-from tools.func import frame_codeinfo
+from .tools.func import frame_codeinfo
_logger = logging.getLogger(__name__)