[DEBUG] error in heriage

This commit is contained in:
Edouard DUPIN 2022-02-08 13:53:24 +01:00
parent c31aad7e01
commit 6a6961fb3d
2 changed files with 2 additions and 1 deletions

View File

@ -93,6 +93,7 @@ class HeritageList:
debug.extreme_verbose(" add: " + str(herit.name))
listHeritage.remove(herit)
self.list_heritage.append(copy.deepcopy(herit))
# check if nothing is include in heritage...
if currentHeritageSize == len(listHeritage):
debug.warning("Not resolve dependency between the library ==> can be a cyclic dependency !!!")
for herit in listHeritage:

View File

@ -855,7 +855,7 @@ class Target:
pass;
else:
if len(action_list) == 1 and len(list_of_all_element) == 1:
return [None, False, global_run_error];
return ret;
# end of all element processing...
return [None, False, global_run_error];
##