Commit ace3773f authored by Jérome Perrin's avatar Jérome Perrin

py3: 2to3 -j 20 --write --nobackups --no-diffs --fix=import .

parent b790643e
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
from Products.ERP5Type.Utils import initializeProduct, updateGlobals from Products.ERP5Type.Utils import initializeProduct, updateGlobals
from AccessControl.Permissions import manage_users as ManageUsers from AccessControl.Permissions import manage_users as ManageUsers
import sys import sys
import Permissions from . import Permissions
this_module = sys.modules[ __name__ ] this_module = sys.modules[ __name__ ]
document_classes = updateGlobals(this_module, globals(), document_classes = updateGlobals(this_module, globals(),
permissions_module=Permissions) permissions_module=Permissions)
...@@ -38,10 +38,10 @@ content_constructors = () ...@@ -38,10 +38,10 @@ content_constructors = ()
portal_tools = () portal_tools = ()
from Products.PluggableAuthService.PluggableAuthService import registerMultiPlugin from Products.PluggableAuthService.PluggableAuthService import registerMultiPlugin
import SlapOSShadowAuthenticationPlugin from . import SlapOSShadowAuthenticationPlugin
def initialize(context): def initialize(context):
import Document from . import Document
initializeProduct(context, this_module, globals(), document_module=Document, initializeProduct(context, this_module, globals(), document_module=Document,
document_classes=document_classes, object_classes=object_classes, document_classes=document_classes, object_classes=object_classes,
portal_tools=portal_tools, content_constructors=content_constructors, portal_tools=portal_tools, content_constructors=content_constructors,
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
# #
############################################################################## ##############################################################################
from testSlapOSMixin import testSlapOSMixin from .testSlapOSMixin import testSlapOSMixin
import unittest import unittest
class TestUpgradeInstanceWithOldDataFs(testSlapOSMixin): class TestUpgradeInstanceWithOldDataFs(testSlapOSMixin):
......
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