def clean(self):
        # Check that both passwords (if present) are the same
        password = self.cleaned_data.get('password', None)
        confirm_password = self.cleaned_data.get('confirm_password', None)
        if password and confirm_password and (password != confirm_password):
            raise forms.ValidationError("Passwords don't match")
        # Remove fields that are not in the Model to avoid any mismatch when synchronizing
        d = dict(self.cleaned_data)
        if d in "confirm_password":
            del d["confirm_password"]
        p = self._meta.model(**d)
        return self.cleaned_data
dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/plugins/vt_plugin/controller/vtAggregateController/forms/forms.py/xmlrpcServerProxyForm.clean/swapped operands of `in`