def populate_network_service_policy_id_choices(self, request, context):
        policies = []
        try:
            policies = client.networkservicepolicy_list(request,
                tenant_id=request.user.tenant_id)
            for p in policies:
                p.set_id_as_name_if_empty()
            policies = [(p.id, p.name + ":" + p.id) for p in policies]
            policies.insert(0, ('None', 'No Network Service Policy'))
        except Exception as e:
            msg = (str(e)) % _("Unable to retrieve service policies. %s).")
            exceptions.handle(request, msg)
        return policies
dataset/ETHPy150Open openstack/group-based-policy-ui/gbpui/panels/policytargets/workflows.py/SelectL2policyAction.populate_network_service_policy_id_choices/swapped operands of `%`