Commit f6972e8d authored by Arnaud Fontaine's avatar Arnaud Fontaine

There is absolutely no reason to use relative imports when loading a Component.

parent b00616b2
...@@ -28,6 +28,9 @@ ...@@ -28,6 +28,9 @@
# #
############################################################################## ##############################################################################
# There is absolutely no reason to use relative imports when loading a Component
from __future__ import absolute_import
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions from Products.ERP5Type import Permissions
from Products.ERP5Type.Base import Base from Products.ERP5Type.Base import Base
......
# -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# Copyright (c) 2012 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2012 Nexedi SARL and Contributors. All Rights Reserved.
...@@ -26,6 +27,9 @@ ...@@ -26,6 +27,9 @@
# #
############################################################################## ##############################################################################
# There is absolutely no reason to use relative imports when loading a Component
from __future__ import absolute_import
import sys import sys
import threading import threading
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment