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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos.core
Commits
194346f8
Commit
194346f8
authored
Nov 27, 2024
by
Rafael Monnerat
👻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
py3: Import parse_qs from six
parent
409414c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
master/bt5/slapos_slap_tool/ToolComponentTemplateItem/portal_components/tool.erp5.SlapTool.py
...onentTemplateItem/portal_components/tool.erp5.SlapTool.py
+2
-2
No files found.
master/bt5/slapos_slap_tool/ToolComponentTemplateItem/portal_components/tool.erp5.SlapTool.py
View file @
194346f8
...
...
@@ -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
from
six.moves.urllib.parse
import
urlparse
from
six.moves.urllib.parse
import
parse_qs
from
lxml
import
etree
try
:
...
...
@@ -474,7 +474,7 @@ class SlapTool(BaseTool):
"""
portal
=
self
.
getPortalObject
()
# in http post, parameter is ignored in url but is inside request body
query
=
urlparse
.
parse_qs
(
self
.
REQUEST
.
get
(
'QUERY_STRING'
))
query
=
parse_qs
(
self
.
REQUEST
.
get
(
'QUERY_STRING'
))
ingestion_policy
=
getattr
(
portal
.
portal_ingestion_policies
,
query
[
'ingestion_policy'
][
0
],
None
)
if
ingestion_policy
is
None
:
...
...
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