Commit 37098d88 authored by Rafael Monnerat's avatar Rafael Monnerat

py3: Import urlparse/urljoin from six

parent a1e16bc1
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