diff --git a/pym/update/update.py b/pym/update/update.py index 9281274..b2953f7 100644 --- a/pym/update/update.py +++ b/pym/update/update.py @@ -1634,9 +1634,10 @@ class Update(MethodsInterface): # < 0 binhost level low # == 0 binhost level adequate # > 0 binhost level high - if level is None: + local_lvl = self.clVars.Get("update.cl_update_level") + if level is None or local_lvl == "": return None - return level - int(self.clVars.Get("update.cl_update_level")) + return level - int(local_lvl) def is_branch_set(self): #basically, if any of the branches are specified, we won't use migration diff --git a/pym/update/variables/update.py b/pym/update/variables/update.py index db9012b..419391d 100644 --- a/pym/update/variables/update.py +++ b/pym/update/variables/update.py @@ -723,7 +723,7 @@ class VariableClUpdateRepHost(Variable): class VariableClUpdateRepHostUrl(Variable): type = "list" - value = ['git://github.com/calculatelinux/%s.git'] + value = ['https://github.com/calculatelinux/%s.git'] class VariableClUpdateProfileDatavars(ReadonlyVariable): @@ -925,7 +925,7 @@ class VariableClUpdateProfileUrl(Variable): profile = "cl_profile_system" branch = "cl_update_profile_branch" storage = "cl_update_profile_storage" - default_url = "git://github.com/calculatelinux/distros.git" + default_url = "https://github.com/calculatelinux/distros.git" profiles_shortname = 'cl_update_profile_shortname' @property