Skip to content
Snippets Groups Projects
Commit 12dc3a50 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Fix trailing whitespace

parent 6050d51b
No related branches found
No related tags found
1 merge request!131WIP: Fix linting
......@@ -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(
{
......
......@@ -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}
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment