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
Léo-Paul Géneau
slapos.core
Commits
276fd62c
Commit
276fd62c
authored
Jan 20, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into lazy_simulation_causality
parents
553d5316
835095e7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SalePackinListLine_asSoftwareInstnaceComputerPartitionMergedDict.xml
...istLine_asSoftwareInstnaceComputerPartitionMergedDict.xml
+2
-1
master/bt5/vifib_slap/bt/revision
master/bt5/vifib_slap/bt/revision
+1
-1
master/product/Vifib/Tool/SlapTool.py
master/product/Vifib/Tool/SlapTool.py
+4
-1
No files found.
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SalePackinListLine_asSoftwareInstnaceComputerPartitionMergedDict.xml
View file @
276fd62c
...
...
@@ -85,7 +85,8 @@ if software_instance is not None and computer_partition is not None and software
if instance is None:\n
raise NotImplementedError, "Unexpected Sale Packing List without Instance aggregated %s" % sale_packing_list_line.getRelativeUrl()\n
elif instance.getPortalType() == "Slave Instance":\n
slave_instance = dict(slap_software_type=instance.getSourceReference(),\n
slave_instance = dict(slave_title=instance.getTitle(),\n
slap_software_type=instance.getSourceReference(),\n
slave_reference=instance.getReference(),\n
xml=instance.getTextContent(),\n
connection_xml=instance.getConnectionXml(),\n
...
...
master/bt5/vifib_slap/bt/revision
View file @
276fd62c
497
\ No newline at end of file
506
\ No newline at end of file
master/product/Vifib/Tool/SlapTool.py
View file @
276fd62c
...
...
@@ -829,7 +829,10 @@ class SlapTool(BaseTool):
software_instance
=
SoftwareInstance
(
**
parameter_dict
)
if
shared
:
slave_instance
=
parameter_dict
.
get
(
"slave_instance_list"
)[
0
]
# XXX: Dirty hack
for
slave_instance
in
parameter_dict
.
get
(
"slave_instance_list"
,
[]):
if
slave_instance
[
'slave_title'
]
==
partition_reference
:
break
software_instance
.
_parameter_dict
=
self
.
_instanceXmlToDict
(
slave_instance
.
pop
(
'xml'
))
software_instance
.
_connection_dict
=
self
.
_instanceXmlToDict
(
...
...
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