def compress(self, data_list):
        if data_list:
            # Raise a validation error if time or date is empty
            # (possible if SplitDateTimeField has required=False).
            if data_list[0] in validators.EMPTY_VALUES:
                raise ValidationError(self.error_messages['invalid_date'])
            if validators.EMPTY_VALUES in data_list[1]:
                raise ValidationError(self.error_messages['invalid_time'])
            if data_list[2] in validators.EMPTY_VALUES:
                raise ValidationError(self.error_messages['invalid_timezone'])

            dt = datetime.datetime.combine(*data_list[:2])
            tz = data_list[2]
            if dt and tz:
                result = adjust_datetime_to_timezone(dt, tz,
                            pytz.timezone(settings.TIME_ZONE)).replace(tzinfo=None)
            return result
        return None
dataset/ETHPy150Open paluh/django-tz/django_tz/forms.py/SplitLocalizedDateTimeField.compress/swapped operands of `in`