Commit 68654077 authored by Romain Courteaud's avatar Romain Courteaud

Typo...

parent 9ff98c57
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
portal.portal_catalog.searchAndActivate(\n portal.portal_catalog.searchAndActivate(\n
portal_type=["Software Instance", "Slave Instance"],\n portal_type=["Software Instance", "Slave Instance"],\n
default_aggregate_relative_url="computer_partition/%",\n default_aggregate_relative_url="computer_partition/%",\n
validation_state="invalidate",\n validation_state="invalidated",\n
method_id=\'Instance_tryToUnallocatePartition\',\n method_id=\'Instance_tryToUnallocatePartition\',\n
activate_kw={\'tag\': tag}\n activate_kw={\'tag\': tag}\n
)\n )\n
......
...@@ -50,7 +50,8 @@ ...@@ -50,7 +50,8 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>partition = instance.getAggregateValue(portal_type="Computer Partition")\n <value> <string>instance = context\n
partition = instance.getAggregateValue(portal_type="Computer Partition")\n
portal = instance.getPortalObject()\n portal = instance.getPortalObject()\n
if partition is not None:\n if partition is not None:\n
# Partition may be managed by another instance at the same time\n # Partition may be managed by another instance at the same time\n
......
739 740
\ No newline at end of file \ No newline at end of file
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
<key> <string>transitions</string> </key> <key> <string>transitions</string> </key>
<value> <value>
<tuple> <tuple>
<string>allocate_partition</string>
<string>bang</string> <string>bang</string>
<string>request_instance</string> <string>request_instance</string>
<string>unallocate_partition</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
33 34
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment