Commit a1398b47 authored by Łukasz Nowak's avatar Łukasz Nowak

Do not try to unallocate non destroyed instances.

parent ea9028d3
......@@ -51,6 +51,9 @@
<item>
<key> <string>_body</string> </key>
<value> <string>instance = context\n
if instance.getSlapState() != \'destroy_requested\':\n
return\n
\n
partition = instance.getAggregateValue(portal_type="Computer Partition")\n
portal = instance.getPortalObject()\n
if partition is not None:\n
......
234
\ No newline at end of file
235
\ 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