Skip to content
Snippets Groups Projects
Commit 676c2fe3 authored by Karim Ahmed's avatar Karim Ahmed
Browse files

avoid using reservation in the cmd

parent b5d5040f
No related branches found
No related tags found
1 merge request!196avoid using reservation in the cmd
...@@ -46,8 +46,10 @@ if "run_low" in args and args["run_low"]: ...@@ -46,8 +46,10 @@ if "run_low" in args and args["run_low"]:
if "run" in args and args["run"]: if "run" in args and args["run"]:
parm_list += ["(\"run\", \"{}\")".format(args["run"])] parm_list += ["(\"run\", \"{}\")".format(args["run"])]
if "reservation" in args and args["reservation"]: # Avoid giving a reservation parameter after the ITDM changes
parm_list += ["(\"reservation\", \"{}\")".format(args["reservation"])] # for giving xcal high priority by default.
#if "reservation" in args and args["reservation"]:
#parm_list += ["(\"reservation\", \"{}\")".format(args["reservation"])]
msg = "','".join(parm_list) msg = "','".join(parm_list)
socket.send("['{}']".format(msg).encode()) socket.send("['{}']".format(msg).encode())
......
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