1 parent 05f7256 commit ab4080cCopy full SHA for ab4080c
1 file changed
src/allocation/domain/model.py
@@ -24,7 +24,6 @@ def allocate(self, line: OrderLine) -> str:
24
return batch.reference
25
except StopIteration:
26
self.events.append(events.OutOfStock(line.sku))
27
- # raise OutOfStock(f"Out of stock for sku {line.sku}")
28
return None
29
30
0 commit comments