Commit a31b26e2 authored by Felix Seibert's avatar Felix Seibert
Browse files

fixing index usage

parent 49014719
......@@ -232,7 +232,7 @@ class OSDManager(object):
div_util.print_process_list(processes)
for process in processes:
if process[2] == b'':
if process[1][1] == b'':
pass
else:
errored_deletions.append(process[0])
......
......@@ -53,8 +53,8 @@ def run_commands(commands, max_processes=200):
def print_process_list(processes):
for process in processes:
print("command: " + str(process[0]))
print("stoud: " + str(process[1]))
print("stderr: " + str(process[2]))
print("stout: " + str(process[1][0]))
print("stderr: " + str(process[1][1]))
"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment