Commit 992b58ca authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_subscription_request: return after cancel the subscription request

parent 5e430ca2
Pipeline #36750 failed with stage
in 0 seconds
...@@ -29,7 +29,7 @@ if item is None: ...@@ -29,7 +29,7 @@ if item is None:
raise ValueError('Unsupported resource: %s' % resource.getRelativeUrl()) raise ValueError('Unsupported resource: %s' % resource.getRelativeUrl())
if item.getValidationState() in ['invalidated', 'archived']: if item.getValidationState() in ['invalidated', 'archived']:
subscription_request.cancel( return subscription_request.cancel(
comment="%s is %s." % (item.getPortalType(), item.getValidationState())) comment="%s is %s." % (item.getPortalType(), item.getValidationState()))
......
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