Commit 7fd68cb1 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_pdm: Ignore context if URL is passed.

parent 8824e7bb
......@@ -56,7 +56,8 @@ from DateTime import DateTime\n
\n
portal = context.getPortalObject()\n
\n
if context.getPortalType() == "Software Product":\n
if software_release_url is None and \\\n
context.getPortalType() == "Software Product":\n
software_product_reference = context.getReference()\n
\n
if software_product_reference is None:\n
......
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