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