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
0
Merge Requests
0
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
Lu Xu
slapos.core
Commits
eca68ea6
Commit
eca68ea6
authored
May 30, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setup required value on instances.
parent
6a302e3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
master/bt5/vifib_upgrader/ExtensionTemplateItem/VifibUpgrader.py
...bt5/vifib_upgrader/ExtensionTemplateItem/VifibUpgrader.py
+2
-1
master/bt5/vifib_upgrader/bt/revision
master/bt5/vifib_upgrader/bt/revision
+1
-1
No files found.
master/bt5/vifib_upgrader/ExtensionTemplateItem/VifibUpgrader.py
View file @
eca68ea6
...
@@ -149,7 +149,8 @@ def SlapDocument_migrateSlapState(self):
...
@@ -149,7 +149,8 @@ def SlapDocument_migrateSlapState(self):
else
:
else
:
hosting_subscription
=
explanation_delivery_line
.
getAggregateValue
(
portal_type
=
'Hosting Subscription'
)
hosting_subscription
=
explanation_delivery_line
.
getAggregateValue
(
portal_type
=
'Hosting Subscription'
)
slap_document
.
edit
(
slap_document
.
edit
(
specialise_value
=
hosting_subscription
specialise_value
=
hosting_subscription
,
root_software_release_url
=
explanation_delivery_line
.
getAggregateValue
(
portal_type
=
'Software Release'
).
getUrlString
()
)
)
assert
(
slap_document
.
getSpecialise
()
==
hosting_subscription
.
getRelativeUrl
())
assert
(
slap_document
.
getSpecialise
()
==
hosting_subscription
.
getRelativeUrl
())
...
...
master/bt5/vifib_upgrader/bt/revision
View file @
eca68ea6
107
108
\ No newline at end of file
\ No newline at end of file
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