Commit 7262c672 authored by Rafael Monnerat's avatar Rafael Monnerat

py3: Import urlparse/urljoin from six

parent dd892e9b
from urlparse import urljoin, urlparse
from six.moves.urllib.parse import urlparse, urljoin
person = context
web_site = context.getWebSiteValue()
......
from urlparse import urljoin, urlparse
from six.moves.urllib.parse import urljoin, urlparse
portal = context.getPortalObject()
person = portal.portal_membership.getAuthenticatedMember().getUserValue()
......
......@@ -39,7 +39,7 @@ from Products.ERP5Type import Permissions
from Products.ERP5Type.Cache import CachingMethod
from erp5.component.module.SlapOSCloud import _assertACI
from Products.ERP5Type.Cache import DEFAULT_CACHE_SCOPE
import urlparse
from six.moves.urllib.parse import urlparse
from lxml import etree
try:
......
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