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
7699bd37
Commit
7699bd37
authored
Dec 08, 2023
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_upgrader: fixup
parent
952b0676
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
master/bt5/slapos_upgrader/SkinTemplateItem/portal_skins/slapos_upgrader/Project_checkSoftwareProductToVirtualMaster.py
...s_upgrader/Project_checkSoftwareProductToVirtualMaster.py
+3
-2
No files found.
master/bt5/slapos_upgrader/SkinTemplateItem/portal_skins/slapos_upgrader/Project_checkSoftwareProductToVirtualMaster.py
View file @
7699bd37
...
...
@@ -75,6 +75,7 @@ for soft, variation_dict in soft_dict.items():
software_product
=
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
"Software Product"
,
title
=
{
'query'
:
soft
,
'key'
:
'ExactMatch'
},
follow_up__uid
=
project
.
getUid
()
)
if
software_product
is
None
:
...
...
@@ -89,7 +90,7 @@ for soft, variation_dict in soft_dict.items():
for
software_type
in
list
(
set
(
variation_dict
[
'type_list'
])):
type_variation
=
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
"Software Product Type Variation"
,
title
=
software_type
,
title
=
{
'query'
:
software_type
,
'key'
:
'ExactMatch'
}
,
parent_uid
=
software_product
.
getUid
()
)
if
type_variation
is
None
:
...
...
@@ -104,7 +105,7 @@ for soft, variation_dict in soft_dict.items():
for
software_release
in
release_list
:
software_release_variation
=
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
"Software Product Release Variation"
,
url_string
=
software_release
,
url_string
=
{
'query'
:
software_release
,
'key'
:
'ExactMatch'
}
,
parent_uid
=
software_product
.
getUid
()
)
if
software_release_variation
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