Commit a225fb6c authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Double-check catalog result on Constraint (sucessor)

See merge request !421
parents 029f1c52 0869ce77
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<key> <string>expression</string> </key> <key> <string>expression</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
python: len(context.getSuccessorRelatedList()) <= 1 python: len([x for x in context.getSuccessorRelatedValueList() if context.getRelativeUrl() in x.getSuccessorList()]) <= 1
]]></string> </value> ]]></string> </value>
</item> </item>
......
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