Browse Source

cl_builder_binhosts -> cl_builder_binhost_list

tags/3.4.0_alpha1
Mike Khiretskiy 6 years ago
parent
commit
eceb9a9f72
2 changed files with 5 additions and 5 deletions
  1. +2
    -2
      pym/update/update.py
  2. +3
    -3
      pym/update/variables/update.py

+ 2
- 2
pym/update/update.py View File

@@ -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)


+ 3
- 3
pym/update/variables/update.py View File

@@ -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):
"""
Список хостов с бинарными обновлениями
"""


Loading…
Cancel
Save