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

reordering print statements

parent 855d726c
......@@ -184,15 +184,19 @@ class OSDManager(object):
for filename in directory[2]:
absolute_file_path = os.path.join(directory[0], filename)
print("absolute file path: " + str(absolute_file_path))
osd_of_file = div_util.get_osd_uuid(absolute_file_path)
osd_for_file = self.distribution.get_containing_osd(self.get_containing_folder_id(
self.path_on_volume(absolute_file_path)))
if self.debug:
print("absolute file path: " + str(absolute_file_path))
print("osd_of_file: " + str(osd_of_file))
print("osd_for_file: " + str(osd_for_file))
print("path on volume: " + self.path_on_volume(absolute_file_path))
print("osd_of_file: " + str(osd_of_file))
path_on_volume = self.path_on_volume(absolute_file_path)
print("path on volume: " + self.path_on_volume(absolute_file_path))
containing_folder_id = self.get_containing_folder_id(path_on_volume)
print("containing folder id: " + containing_folder_id)
osd_for_file = self.distribution.get_containing_osd(containing_folder_id)
print("osd_for_file: " + str(osd_for_file))
if osd_of_file != osd_for_file:
# create replication commands
......
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