Skip to content
Snippets Groups Projects
Commit 191cba42 authored by Moritz Gleissner's avatar Moritz Gleissner
Browse files

hotfix(profiles): no more cut of profiles

parent ed29b7f7
No related branches found
No related tags found
1 merge request!68Fluxio preliminary release
Pipeline #21730 failed
......@@ -267,10 +267,11 @@ class SkillManager:
# sort profiles by dependencies
save_break = 0
prof_len = len(profiles)
sorted_profiles = []
while len(profiles) > 0:
# save break with pover of 2
if save_break == 2 ** len(profiles):
if save_break == 2 ** prof_len:
break
for p in profiles:
if p.parentId is None or p.parentId.id in [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment