예제 #1
0
 def _get_exclusive_files(self, fo_list):
     result = {}
     for i, current_element in enumerate(fo_list):
         tmp_list = deepcopy(fo_list)
         tmp_list.pop(i)
         result[current_element.uid] = difference_of_lists(current_element.list_of_all_included_files, self._get_list_of_file_lists(tmp_list))
     return result
예제 #2
0
 def _get_exclusive_software(self, fo_list):
     result = {}
     for i in range(len(fo_list)):
         tmp_list = deepcopy(fo_list)
         current_element = tmp_list.pop(i)
         result[current_element.get_uid()] = difference_of_lists(self._get_software_list(current_element), self._get_list_of_software_lists(tmp_list))
     result['collapse'] = True
     return result