Skip to content

Commit

Permalink
fix info bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nsheff committed May 9, 2019
1 parent 372e67f commit 2133f29
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pypiper/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,6 @@ def make_hash(o):
print ("Not waiting for subprocesses: " + str(ids))
return [0, -1]

info = "Process returns and memory:"

def proc_wrapup(i):
"""
Expand All @@ -942,7 +941,7 @@ def proc_wrapup(i):
returncode = processes[i].returncode
current_pid = processes[i].pid

info += "{pid}: {ret} ({mem}); ".format(
info = "{pid}: {ret} ({mem}); ".format(
pid=current_pid,
ret=processes[i].returncode,
mem=display_memory(local_maxmems[i]))
Expand All @@ -962,7 +961,7 @@ def proc_wrapup(i):


sleeptime = .0001
info = ""
info = "Process returns and memory:"
while running_processes:
for i in running_processes:
local_maxmems[i] = max(local_maxmems[i], (get_mem_child_sum(processes[i])))
Expand Down

0 comments on commit 2133f29

Please sign in to comment.