Commit 68654077 authored by Romain Courteaud's avatar Romain Courteaud

Typo...

parent 9ff98c57
......@@ -55,7 +55,7 @@
portal.portal_catalog.searchAndActivate(\n
portal_type=["Software Instance", "Slave Instance"],\n
default_aggregate_relative_url="computer_partition/%",\n
validation_state="invalidate",\n
validation_state="invalidated",\n
method_id=\'Instance_tryToUnallocatePartition\',\n
activate_kw={\'tag\': tag}\n
)\n
......
......@@ -50,7 +50,8 @@
</item>
<item>
<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
if partition is not None:\n
# Partition may be managed by another instance at the same time\n
......
739
\ No newline at end of file
740
\ No newline at end of file
......@@ -22,9 +22,9 @@
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>allocate_partition</string>
<string>bang</string>
<string>request_instance</string>
<string>unallocate_partition</string>
</tuple>
</value>
</item>
......
33
\ No newline at end of file
34
\ 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