Skip to content

Commit e0fc230

Browse files
committed
small beautification
1 parent c74238c commit e0fc230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MC/bin/o2_dpg_workflow_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,9 +460,9 @@ def update_resource_estimates(workflow, resource_json):
460460
oldmem = task["resources"]["mem"]
461461
actionlogger.info("Updating mem estimate for " + task["name"] + " from " + str(oldmem) + " to " + str(newmem))
462462
task["resources"]["mem"] = newmem
463-
newcpu = new_resources.get("cpu", None)
464463

465464
# cpu
465+
newcpu = new_resources.get("cpu", None)
466466
if newcpu is not None:
467467
oldcpu = task["resources"]["cpu"]
468468
rel_cpu = task["resources"]["relative_cpu"]

0 commit comments

Comments
 (0)