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
Titouan Soulard
slapos.core
Commits
10c41789
Commit
10c41789
authored
Jul 05, 2011
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove useless condition and rename variable
parent
46bfbe41
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
13 deletions
+12
-13
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SalePackingListLine_asSoftwareInstanceComputerPartitionMergedDict.xml
...istLine_asSoftwareInstanceComputerPartitionMergedDict.xml
+11
-12
master/bt5/vifib_slap/bt/revision
master/bt5/vifib_slap/bt/revision
+1
-1
No files found.
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SalePackingListLine_asSoftwareInstanceComputerPartitionMergedDict.xml
View file @
10c41789
...
@@ -64,7 +64,6 @@ if software_instance is not None and computer_partition is not None and software
...
@@ -64,7 +64,6 @@ if software_instance is not None and computer_partition is not None and software
slave_instance_list = []\n
slave_instance_list = []\n
sale_packing_list_line_list = computer_partition.getAggregateRelatedValueList(portal_type="Sale Packing List Line")\n
sale_packing_list_line_list = computer_partition.getAggregateRelatedValueList(portal_type="Sale Packing List Line")\n
for sale_packing_list_line in sale_packing_list_line_list:\n
for sale_packing_list_line in sale_packing_list_line_list:\n
if checkPermission("Access contents information", sale_packing_list_line):\n
instance = sale_packing_list_line.getAggregateValue(portal_type=instance_type_list)\n
instance = sale_packing_list_line.getAggregateValue(portal_type=instance_type_list)\n
if instance is None:\n
if instance is None:\n
continue\n
continue\n
...
@@ -75,7 +74,6 @@ if software_instance is not None and computer_partition is not None and software
...
@@ -75,7 +74,6 @@ if software_instance is not None and computer_partition is not None and software
))\n
))\n
elif instance.getPortalType() == "Software Instance":\n
elif instance.getPortalType() == "Software Instance":\n
software_instance = instance\n
software_instance = instance\n
\n
return {\n
return {\n
\'xml\':software_instance.getTextContent(),\n
\'xml\':software_instance.getTextContent(),\n
\'connection_xml\':software_instance.getConnectionXml(),\n
\'connection_xml\':software_instance.getConnectionXml(),\n
...
@@ -87,6 +85,7 @@ if software_instance is not None and computer_partition is not None and software
...
@@ -87,6 +85,7 @@ if software_instance is not None and computer_partition is not None and software
\'slave_instance_list\':slave_instance_list,\n
\'slave_instance_list\':slave_instance_list,\n
\'ip_list\':ip_list,\n
\'ip_list\':ip_list,\n
}\n
}\n
\n
return None\n
return None\n
</string>
</value>
</string>
</value>
</item>
</item>
...
...
master/bt5/vifib_slap/bt/revision
View file @
10c41789
386
387
\ 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