From ed9158fd1b8cdd5d51df4bfb9f7ae34f2bdbf080 Mon Sep 17 00:00:00 2001 From: Lila Yasin Date: Wed, 16 Oct 2024 13:44:51 -0400 Subject: [PATCH] Update awx/api/serializers.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) --- awx/api/serializers.py | 1 - 1 file changed, 1 deletion(-) diff --git a/awx/api/serializers.py b/awx/api/serializers.py index 47bc309ca020..712f512f3676 100644 --- a/awx/api/serializers.py +++ b/awx/api/serializers.py @@ -2490,7 +2490,6 @@ def get_field_from_model_or_attrs(fd): else: redundant_scm_fields = list(filter(lambda x: attrs.get(x, None), ['source_project', 'source_path', 'scm_branch'])) if redundant_scm_fields: - breakpoint() raise serializers.ValidationError({"detail": _("Cannot set %s if not SCM type." % ' '.join(redundant_scm_fields))}) project = get_field_from_model_or_attrs('source_project')