Commit 03b7ecdd authored by Romain Courteaud's avatar Romain Courteaud

slapos_subscription_request: lint

parent ddf339de
......@@ -6,7 +6,7 @@ item = context
portal = context.getPortalObject()
tag = '%s_%s' % (item.getUid(), script.id)
activate_kw = {'tag': tag}
# activate_kw = {'tag': tag}
if 0 < portal.portal_activities.countMessageWithTag(tag):
# nothing to do
return
......@@ -32,7 +32,7 @@ service = None
destination_decision_value = None
resource_vcl = []
if item.getPortalType() == 'Instance Tree':
service, software_release, software_type = item.InstanceTree_getSoftwareProduct()
service, _, software_type = item.InstanceTree_getSoftwareProduct()
destination_decision_value = item.getDestinationSectionValue(portal_type="Person")
if service is not None:
resource_vcl = [
......
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