aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/process_queue.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/process_queue.py b/python/process_queue.py
index eac48fff..3141aa5f 100644
--- a/python/process_queue.py
+++ b/python/process_queue.py
@@ -125,8 +125,7 @@ def terminate_list(
terms = []
for term in p.lrange(key, 0, -1):
termination = loads(term)
- trade = DealKind["termination"].from_dict(**termination)
- trade.mtm_stage()
+ DealKind["termination"].from_dict(**termination).mtm_stage()
try:
terms.append(trade.to_globeop())
except TypeError as e: