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
21
Merge Requests
21
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
d6c22018
Commit
d6c22018
authored
Apr 23, 2021
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_cloud: Minor fixup
Fix up when you pass path and when you pass the object for the newContent
parent
7df8d2b4
Pipeline
#15102
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/ComputerNetwork_createMovement.py
...rtal_skins/slapos_cloud/ComputerNetwork_createMovement.py
+3
-3
No files found.
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/ComputerNetwork_createMovement.py
View file @
d6c22018
...
...
@@ -18,10 +18,10 @@ if destination_project is None and source_project is not None:
destination_project
=
source_project
.
getRelativeUrl
()
if
source_section
is
None
:
source_section
=
context
.
getSourceAdministration
()
source_section
=
context
.
getSourceAdministration
Value
()
if
destination_section
is
None
:
destination_section
=
source_section
destination_section
=
source_section
.
getRelativeUrl
()
source
=
context
.
getSourceAdministration
()
destination
=
context
.
getSourceAdministration
()
...
...
@@ -39,7 +39,7 @@ delivery = module.newContent(title="Transfer %s to %s" % (context.getTitle(), de
destination_section
=
destination_section
,
source_decision
=
destination_section
,
destination_decision
=
destination_section
,
destination_project
_value
=
destination_project
,
destination_project
=
destination_project
,
start_date
=
DateTime
(),
stop_date
=
DateTime
(),
portal_type
=
portal_type
)
...
...
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