def get_recipients(self):
        recipients = []
        rawdata = self.cleaned_data["dest"].strip()
        if not rawdata:
            return recipients
        for rcpt in rawdata.split(","):
            local_part, domname = split_mailbox(rcpt)
            if not local_part or not domname:
                raise BadRequest(rcpt % "Invalid mailbox syntax for %s")
            try:
                Domain.objects.get(name=domname)
            except Domain.DoesNotExist:
                recipients += [rcpt]
            else:
                raise PermDeniedException(
                    _("You can't define a forward to a local destination. "
                      "Please ask your administrator to create an alias "
                      "instead.")
                )
        return recipients
dataset/ETHPy150Open tonioo/modoboa/modoboa/admin/forms/forward.py/ForwardForm.get_recipients/swapped operands of `%`