cl_builder_binhosts -> cl_builder_binhost_list

develop
Mike Khiretskiy 9 years ago
parent 87d317ac69
commit eceb9a9f72

@ -971,7 +971,7 @@ class Update(object):
'cl_update_rep_url', 'cl_update_rep_url',
'cl_update_rep_name', 'cl_update_rep_name',
'cl_update_branch', 'cl_update_branch',
'cl_update_binhosts', 'cl_update_binhost_list',
'cl_update_branch_name', 'cl_update_branch_name',
'cl_profile_system', 'cl_profile_system',
'cl_update_rep' 'cl_update_rep'
@ -1140,7 +1140,7 @@ class Update(object):
dv.importUpdate() dv.importUpdate()
dv.flIniFile() dv.flIniFile()
changes = False changes = False
for varname in ('update.cl_update_binhosts', for varname in ('update.cl_update_binhost_list',
'update.cl_update_binhost_timestamp_path', 'update.cl_update_binhost_timestamp_path',
'cl_update_binhost_revision_path'): 'cl_update_binhost_revision_path'):
new_value = dv.Get(varname) new_value = dv.Get(varname)

@ -300,7 +300,7 @@ class VariableClUpdateBinhostData(ReadonlyTableVariable):
recheck = self.GetBool('cl_update_binhost_recheck_set') recheck = self.GetBool('cl_update_binhost_recheck_set')
def generate_by_timestamp(): def generate_by_timestamp():
for host in self.Get('cl_update_binhosts'): for host in self.Get('cl_update_binhost_list'):
if host: if host:
ts_content, duration = self.get_timestamp(host) ts_content, duration = self.get_timestamp(host)
if ts_content: if ts_content:
@ -1201,7 +1201,7 @@ class DataVarsUpdateProfile(SimpleDataVars):
VariableClUpdateBinhostTime(section="update"), VariableClUpdateBinhostTime(section="update"),
VariableClUpdateBinhostTimeout(section="update"), VariableClUpdateBinhostTimeout(section="update"),
VariableClUpdateBinhostTimestampPath(section="update"), VariableClUpdateBinhostTimestampPath(section="update"),
VariableClUpdateBinhosts(section="update"), VariableClUpdateBinhostList(section="update"),
VariableClUpdateBinhostRevisionPath(section="update"), VariableClUpdateBinhostRevisionPath(section="update"),
) )
# TODO: при переключении профиля использовать master ветки # TODO: при переключении профиля использовать master ветки
@ -1389,7 +1389,7 @@ class VariableClUpdateOutdatedKernelSet(ReadonlyVariable):
ui = UpdateInfo(self.parent) ui = UpdateInfo(self.parent)
return "on" if ui.outdated_kernel else "off" return "on" if ui.outdated_kernel else "off"
class VariableClUpdateBinhosts(Variable): class VariableClUpdateBinhostList(Variable):
""" """
Список хостов с бинарными обновлениями Список хостов с бинарными обновлениями
""" """

Loading…
Cancel
Save