Commit 24c1a179 authored by Felix Seibert's avatar Felix Seibert
Browse files

fix environment handling, + debug output

parent 74d885fc
......@@ -131,7 +131,7 @@ class OSDManager(object):
'''
def create_distribution_from_existing_files(self, fix_layout_internally=True, apply_layout=True,
environment='LOCAL',):
environment='LOCAL'):
if self.debug:
print("creating distribution from existing files. osd manager: " + str(self))
......@@ -167,7 +167,8 @@ class OSDManager(object):
if fix_layout_internally:
self.fix_physical_layout_internally()
else:
if environment is 'SLURM':
print("environment in create_from_existing: " + str(environment))
if environment == 'SLURM':
osd_list = self.distribution.get_osd_list()
osd_to_folders_map = {}
all_folders = []
......
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