Изменено сообщение при eix-update

master3.4 3.4.5.6
ebeveyn b6759a7040
işleme 9f988d3bbe

@ -254,7 +254,8 @@ class ClUpdateAction(Action):
Get('cl_update_metadata_force') == 'force'))
},
{'name': 'eix_update',
'message': __("Updating the eix cache for {cl_repository_name}"),
'message': __("Updating the eix cache for "
"{cl_update_eix_repositories}"),
'method': 'Update.eixUpdate(cl_repository_name)',
'condition': (
lambda Get: (Get('cl_update_outdate_set') == 'on' and

@ -92,7 +92,8 @@ class ClUpdateProfileAction(Action):
Get('cl_update_metadata_force') == 'force'))
},
{'name': 'eix_update',
'message': __("Updating the eix cache for {cl_repository_name}"),
'message': __("Updating the eix cache for "
"{cl_update_eix_repositories}"),
'method': 'Update.eixUpdate(cl_repository_name)',
'condition': (
lambda Get: (Get('cl_update_outdate_set') == 'on' and

@ -39,6 +39,7 @@ from ..profile import (RepositoryStorageSet, DEFAULT_BRANCH,
from calculate.lib.variables import linux as lib_linux
from calculate.lib.variables import env
from calculate.update.update_info import UpdateInfo
from itertools import chain
import time
_ = lambda x: x
@ -1561,3 +1562,14 @@ class VariableClUpdateOnedepthSet(Variable):
def init(self):
self.label = _("Clear the history of repositories")
self.help = _("clear the history of repositories")
class VariableClUpdateEixRepositories(ReadonlyVariable):
"""
Отображаемый список обновляемых репозиториев eix
"""
def get(self):
return ", ".join(
x for x in chain(
reversed(self.Get('update.cl_update_rep_name')),
self.Get('update.cl_update_other_rep_name')))

Yükleniyor…
İptal
Kaydet