Commit f4d36ca1 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_pdm: add missing strict parameter and implementation

   Strict returns directly a single Software Release for a giving url.
parent a667f10e
......@@ -15,6 +15,9 @@ if software_product_reference is None:
if not software_release:
return []
if strict:
return [software_release]
software_product_reference = software_release.getAggregateReference()
if not software_product_reference:
return []
......
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>software_product_reference=None, software_release_url=None</string> </value>
<value> <string>software_product_reference=None, software_release_url=None, strict=None</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
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