From eceb9a9f72c5b3154213b4c0cf00e3028d5c6e91 Mon Sep 17 00:00:00 2001 From: Mike Khiretskiy Date: Thu, 3 Sep 2015 09:26:12 +0300 Subject: [PATCH] cl_builder_binhosts -> cl_builder_binhost_list --- pym/update/update.py | 4 ++-- pym/update/variables/update.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pym/update/update.py b/pym/update/update.py index ad30911..e6ec9ea 100644 --- a/pym/update/update.py +++ b/pym/update/update.py @@ -971,7 +971,7 @@ class Update(object): 'cl_update_rep_url', 'cl_update_rep_name', 'cl_update_branch', - 'cl_update_binhosts', + 'cl_update_binhost_list', 'cl_update_branch_name', 'cl_profile_system', 'cl_update_rep' @@ -1140,7 +1140,7 @@ class Update(object): dv.importUpdate() dv.flIniFile() changes = False - for varname in ('update.cl_update_binhosts', + for varname in ('update.cl_update_binhost_list', 'update.cl_update_binhost_timestamp_path', 'cl_update_binhost_revision_path'): new_value = dv.Get(varname) diff --git a/pym/update/variables/update.py b/pym/update/variables/update.py index 91a15f7..55c831c 100644 --- a/pym/update/variables/update.py +++ b/pym/update/variables/update.py @@ -300,7 +300,7 @@ class VariableClUpdateBinhostData(ReadonlyTableVariable): recheck = self.GetBool('cl_update_binhost_recheck_set') def generate_by_timestamp(): - for host in self.Get('cl_update_binhosts'): + for host in self.Get('cl_update_binhost_list'): if host: ts_content, duration = self.get_timestamp(host) if ts_content: @@ -1201,7 +1201,7 @@ class DataVarsUpdateProfile(SimpleDataVars): VariableClUpdateBinhostTime(section="update"), VariableClUpdateBinhostTimeout(section="update"), VariableClUpdateBinhostTimestampPath(section="update"), - VariableClUpdateBinhosts(section="update"), + VariableClUpdateBinhostList(section="update"), VariableClUpdateBinhostRevisionPath(section="update"), ) # TODO: при переключении профиля использовать master ветки @@ -1389,7 +1389,7 @@ class VariableClUpdateOutdatedKernelSet(ReadonlyVariable): ui = UpdateInfo(self.parent) return "on" if ui.outdated_kernel else "off" -class VariableClUpdateBinhosts(Variable): +class VariableClUpdateBinhostList(Variable): """ Список хостов с бинарными обновлениями """