Fixes: 1) Remove unnecessary blank line in get_or_create_attribute_safe.

This commit is contained in:
Egor Pavlovich Gorbunov 2025-08-18 14:46:18 +03:00
parent 1308aa47db
commit 5556cd008d

View file

@ -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)