def clean(self):
        """
        Verifiy that the values entered into the two password fields
        match. Note that an error here will end up in
        ``non_field_errors()`` because it doesn't apply to a single
        field.
        
        """
        if self.cleaned_data in 'password'\
                and 'password_c' in self.cleaned_data:
            
            if self.cleaned_data['password'] != \
                    self.cleaned_data['password_c']:
                raise forms.ValidationError(
                    _("The two password fields didn't match.")
                )

        return self.cleaned_data
dataset/ETHPy150Open satnet-project/server/services/accounts/forms.py/BaseUserProfileForm.clean/swapped operands of `in`