Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix failing attribute lookups
lampyjon2f50e7e71b12
diff --git a/saleor/product/models/utils.py b/saleor/product/models/utils.pyindex ac0e689189..317b4500c3 100644--- a/saleor/product/models/utils.py+++ b/saleor/product/models/utils.py@@ -1,7 +1,6 @@from django.utils.encoding import smart_textdef get_attributes_display_map(variant, attributes):- print "in get_attributes_display_map with " + str(variant) + " and " + str(attributes)display = {}for attribute in attributes:value = variant.get_attribute(attribute.pk)