From 12dc3a507eb724b9487718bc9073acf963778a20 Mon Sep 17 00:00:00 2001 From: Bo-Chun Louis Chen <louistw@uab.edu> Date: Tue, 24 May 2022 13:47:08 -0500 Subject: [PATCH] Fix trailing whitespace --- prod_rmq_agents/acct_mgmt_workflow.py | 6 +++--- prod_rmq_agents/new_jobs.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/prod_rmq_agents/acct_mgmt_workflow.py b/prod_rmq_agents/acct_mgmt_workflow.py index 7b7bc0c..fa1067f 100755 --- a/prod_rmq_agents/acct_mgmt_workflow.py +++ b/prod_rmq_agents/acct_mgmt_workflow.py @@ -37,7 +37,7 @@ def manage_acct(ch, method, properties, body): msg["action"] = "unlock" else: print("Invalid state provided. Check the help menu.") - + if service == 'all': current["new_jobs"] = None current["expire_account"] = None @@ -54,7 +54,7 @@ def manage_acct(ch, method, properties, body): rc_rmq.publish_msg( { "routing_key": f"{each_service}.{queuename}", - "msg": msg + "msg": msg } ) @@ -71,7 +71,7 @@ def manage_acct(ch, method, properties, body): if done: rc_util.update_state(username, state) - + # Send done msg to account_manager.py rc_rmq.publish_msg( { diff --git a/prod_rmq_agents/new_jobs.py b/prod_rmq_agents/new_jobs.py index cb51d18..2d3280d 100644 --- a/prod_rmq_agents/new_jobs.py +++ b/prod_rmq_agents/new_jobs.py @@ -43,7 +43,7 @@ def new_jobs(ch, method, properties, body): rc_rmq.publish_msg( - {"routing_key": f'acctmgr.done.{queuename}', + {"routing_key": f'acctmgr.done.{queuename}', "msg": msg} ) -- GitLab