Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove superfluous variable
Marcin Gębalabaa4eb242bd9
diff --git a/saleor/dashboard/order/forms.py b/saleor/dashboard/order/forms.pyindex 40e2850950..ce79d1e444 100644--- a/saleor/dashboard/order/forms.py+++ b/saleor/dashboard/order/forms.py@@ -94,8 +94,9 @@ class ChangeQuantityForm(forms.ModelForm):try:variant.check_quantity(quantity)except InsufficientStock as e:- msg = _('Only %(remaining)d remaining in stock.')- raise forms.ValidationError(msg % {'remaining': e.item.stock})+ raise forms.ValidationError(+ _('Only %(remaining)d remaining in stock.') % {+ 'remaining': e.item.stock})return quantitydef save(self):