Fixes: 1) Remove unnecessary blank line in get_or_create_attribute_safe.
This commit is contained in:
parent
1308aa47db
commit
5556cd008d
1 changed files with 0 additions and 1 deletions
1
core/vendors/__init__.py
vendored
1
core/vendors/__init__.py
vendored
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue