Browse Source

Исправлены переменные профиля

tags/3.2.0_beta1
Mike Khiretskiy 7 years ago
parent
commit
7d15c68adb
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      update/variables/update.py

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

@@ -31,10 +31,10 @@ from calculate.update.package_tools import Git, GitError, Layman
from calculate.update.profile import RepositoryStorageSet, DEFAULT_BRANCH

from calculate.lib.variables.linux import VariableOsLinuxName, \
VariableOsLinuxSubname, VariableOsLinuxVer
VariableOsLinuxSubname, VariableOsLinuxVer, VariableOsLinuxShortname


setLocalTranslate('cl_update3',sys.modules[__name__])
setLocalTranslate('cl_update3', sys.modules[__name__])

class VariableAcUpdateSync(ReadonlyVariable):
"""
@@ -842,6 +842,7 @@ class DataVarsUpdateProfile(SimpleDataVars):
def __init__(self, profile):
SimpleDataVars.__init__(self,
VariableOsLinuxName(),
VariableOsLinuxShortname(),
VariableOsLinuxSubname(),
VariableOsLinuxVer(),
VariableClUpdateRepData(section="update"),


Loading…
Cancel
Save