Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
37098d88
Commit
37098d88
authored
Nov 26, 2024
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
py3: Import urlparse/urljoin from six
parent
a1e16bc1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
master/bt5/slapos_panel/SkinTemplateItem/portal_skins/slapos_panel/Person_addSlapOSCredentialToken.py
...tal_skins/slapos_panel/Person_addSlapOSCredentialToken.py
+1
-2
master/bt5/slapos_panel/SkinTemplateItem/portal_skins/slapos_panel/Project_addSlapOSComputeNodeToken.py
...l_skins/slapos_panel/Project_addSlapOSComputeNodeToken.py
+1
-1
master/bt5/slapos_slap_tool/ToolComponentTemplateItem/portal_components/tool.erp5.SlapTool.py
...onentTemplateItem/portal_components/tool.erp5.SlapTool.py
+1
-1
No files found.
master/bt5/slapos_panel/SkinTemplateItem/portal_skins/slapos_panel/Person_addSlapOSCredentialToken.py
View file @
37098d88
from
urlparse
import
urljoin
,
urlparse
from
six.moves.urllib.parse
import
urlparse
,
urljoin
person
=
context
person
=
context
web_site
=
context
.
getWebSiteValue
()
web_site
=
context
.
getWebSiteValue
()
...
...
master/bt5/slapos_panel/SkinTemplateItem/portal_skins/slapos_panel/Project_addSlapOSComputeNodeToken.py
View file @
37098d88
from
url
parse
import
urljoin
,
urlparse
from
six.moves.urllib.
parse
import
urljoin
,
urlparse
portal
=
context
.
getPortalObject
()
portal
=
context
.
getPortalObject
()
person
=
portal
.
portal_membership
.
getAuthenticatedMember
().
getUserValue
()
person
=
portal
.
portal_membership
.
getAuthenticatedMember
().
getUserValue
()
...
...
master/bt5/slapos_slap_tool/ToolComponentTemplateItem/portal_components/tool.erp5.SlapTool.py
View file @
37098d88
...
@@ -39,7 +39,7 @@ from Products.ERP5Type import Permissions
...
@@ -39,7 +39,7 @@ from Products.ERP5Type import Permissions
from
Products.ERP5Type.Cache
import
CachingMethod
from
Products.ERP5Type.Cache
import
CachingMethod
from
erp5.component.module.SlapOSCloud
import
_assertACI
from
erp5.component.module.SlapOSCloud
import
_assertACI
from
Products.ERP5Type.Cache
import
DEFAULT_CACHE_SCOPE
from
Products.ERP5Type.Cache
import
DEFAULT_CACHE_SCOPE
import
urlparse
from
six.moves.urllib.parse
import
urlparse
from
lxml
import
etree
from
lxml
import
etree
try
:
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment