Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Black formatting

Piotr Antosz4855e7b4529b
diff --git a/saleor/product/migrations/0114_auto_20200129_0815.py b/saleor/product/migrations/0114_auto_20200129_0815.py
index 24c01e08c5..4097d11508 100644
--- a/saleor/product/migrations/0114_auto_20200129_0815.py
+++ b/saleor/product/migrations/0114_auto_20200129_0815.py
@@ -17,9 +17,11 @@ def create_unique_slug_for_products(apps, schema_editor):
first_char = product.name[0].lower()
if first_char != previous_char:
previous_char = first_char
- slug_values = list(Product.objects.filter(
- slug__istartswith=first_char
- ).values_list("slug", flat=True))
+ slug_values = list(
+ Product.objects.filter(slug__istartswith=first_char).values_list(
+ "slug", flat=True
+ )
+ )
slug = generate_unique_slug(product, slug_values)
product.slug = slug