remove logs, unused args
parent
34c6d73abf
commit
744a9a168a
|
@ -542,16 +542,12 @@ class PpTable(Struct):
|
||||||
self,
|
self,
|
||||||
trans: dict[str, Transaction],
|
trans: dict[str, Transaction],
|
||||||
cost_scalar: float = 2,
|
cost_scalar: float = 2,
|
||||||
write_now: bool = False,
|
|
||||||
) -> dict[str, Position]:
|
) -> dict[str, Position]:
|
||||||
|
|
||||||
pps = self.pps
|
pps = self.pps
|
||||||
updated: dict[str, Position] = {}
|
updated: dict[str, Position] = {}
|
||||||
print('TRANSACTIONS')
|
|
||||||
print(trans.items)
|
|
||||||
# lifo update all pps from records
|
# lifo update all pps from records
|
||||||
for tid, t in trans.items():
|
for tid, t in trans.items():
|
||||||
print(t)
|
|
||||||
pp = pps.setdefault(
|
pp = pps.setdefault(
|
||||||
t.bsuid,
|
t.bsuid,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue