diff --git a/core/vendors/__init__.py b/core/vendors/__init__.py index 274e28e8..781a5b40 100644 --- a/core/vendors/__init__.py +++ b/core/vendors/__init__.py @@ -339,7 +339,6 @@ class AbstractVendor: self.get_attribute_values_queryset().delete() # type: ignore [union-attr] def get_or_create_attribute_safe(self, *, name: str, attr_group: AttributeGroup) -> Attribute: - key = name[:255] try: attr = Attribute.objects.get(name=key)