We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99e955a commit ba8e45dCopy full SHA for ba8e45d
domain_model.py
@@ -26,9 +26,9 @@ def __contains__(self, sku):
26
return sku in self._sources
27
28
def supplement_with(self, other):
29
- for sku, qty in other._sources.items():
+ for sku, source in other._sources.items():
30
if sku not in self:
31
- self._sources[sku] = qty
+ self._sources[sku] = source
32
33
def decrement_available_quantities(self):
34
for sku, source in self._sources.items():
0 commit comments