Skip to content
Snippets Groups Projects
Commit a82896da authored by Rachel's avatar Rachel
Browse files

Fix Black typo issue

parent d22d20dd
Branches
Tags
1 merge request!17Prepare v1.0.1
Pipeline #35239 failed
...@@ -424,7 +424,6 @@ class ComplexCompositionBaseFormSet(forms.BaseFormSet): ...@@ -424,7 +424,6 @@ class ComplexCompositionBaseFormSet(forms.BaseFormSet):
if form.cleaned_data.get("DELETE", False): if form.cleaned_data.get("DELETE", False):
continue continue
complex_type_dict.add(form.cleaned_data.get("complex_type")) complex_type_dict.add(form.cleaned_data.get("complex_type"))
print("test ",len(complex_type_dict))
if self.has_bound and self.has_partner and len(complex_type_dict) < 2: if self.has_bound and self.has_partner and len(complex_type_dict) < 2:
self._non_form_errors.append( self._non_form_errors.append(
_("You need at least one bound and one partner") _("You need at least one bound and one partner")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment