Skip to content

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

PEP8

Michał Ociepka6647365436ef
diff --git a/saleor/checkout/core.py b/saleor/checkout/core.py
index aefbf845c3..38548ec61e 100644
--- a/saleor/checkout/core.py
+++ b/saleor/checkout/core.py
@@ -97,8 +97,8 @@ class Checkout(object):
return None
shipping_country_code = shipping_address.country.code
any_country = ShippingMethodCountry.ANY_COUNTRY
- if (shipping_method_country.country_code == any_country
- or shipping_method_country.country_code == shipping_country_code):
+ if (shipping_method_country.country_code == any_country or
+ shipping_method_country.country_code == shipping_country_code):
return shipping_method_country
@shipping_method.setter