Liste vide par défaut quand aucune priorité n’est renseignée
This commit is contained in:
parent
157e2b06d7
commit
112f05f0b4
|
@ -11,7 +11,7 @@
|
|||
%for %%additional_repository in %%getVar('additional_repository_name')
|
||||
%silent %%repositories_detail[%%str(%%additional_repository)] = {'source': %%additional_repository.additional_repository_source, 'priority': 500, 'exceptions': []}
|
||||
%end for
|
||||
%for %%priority_settings in %%getVar('additional_repository_priority_target')
|
||||
%for %%priority_settings in %%getVar('additional_repository_priority_target', [])
|
||||
%if %%str(%%priority_settings) in %%repositories_detail
|
||||
%silent %%repositories_detail[%%str(%%priority_settings)]['priority'] = %%priority_settings.additional_repository_global_priority
|
||||
%if %%priority_settings.additional_repository_exempted_packages
|
||||
|
|
Loading…
Reference in New Issue