Skip to content

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

Fix too long line (PEP8)

Marcin Gębala2c14bd879e02
diff --git a/saleor/dashboard/order/views.py b/saleor/dashboard/order/views.py
index 4eb78ce94f..951fe52cdf 100644
--- a/saleor/dashboard/order/views.py
+++ b/saleor/dashboard/order/views.py
@@ -67,7 +67,8 @@ class OrderDetails(StaffMemberOnlyMixin, DetailView):
groups = self.object.groups.select_subclasses().all()
for group in groups:
- group.can_ship = payment.status == 'confirmed' and group.status == 'new'
+ group.can_ship = payment.status == 'confirmed' and \
+ group.status == 'new'
ctx['delivery_groups'] = groups
return ctx