diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/process_queue.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/python/process_queue.py b/python/process_queue.py index ca36b384..f1f24c56 100644 --- a/python/process_queue.py +++ b/python/process_queue.py @@ -718,22 +718,6 @@ def upload_buf( sftp = SftpClient.from_creds("hm_globeop") sftp.client.chdir("incoming") sftp.put(buf, dest) - em = ExchangeMessage() - recipients = ( - "caagtradecapture@bnymellon.com", - "hm-operations@bnymellon.com", - "caagprim@bnymellon.com", - "julie.picariello@bnymellon.com", - ) - if trade_type in ("cds", "swaption"): - recipients += ("sa1futures.optionsprocessing@bnymellon.com",) - em.send_email( - "Trade file", - "", - to_recipients=recipients, - cc_recipients=("bowdoin-ops@lmcg.com",), - attach=(FileAttachment(name=dest, content=buf),), - ) else: raise ValueError(f"unknow fund name: {fund}") |
