def populate_consumed_policy_rule_set_choices(self, request, context):
        policy_rule_set_list = []
        try:
            policy_rule_set_list = [('None', 'No Consumed Policy Rule Sets')]
            policy_rule_set_list =\
                self._policy_rule_set_list(request)
        except Exception as e:
            msg = _('Unable to retrieve policy rule set. %s.') % (str(e))
            exceptions.handle(request, msg)
        return policy_rule_set_list
dataset/ETHPy150Open openstack/group-based-policy-ui/gbpui/panels/policytargets/workflows.py/SelectPolicyRuleSetAction.populate_consumed_policy_rule_set_choices/original