Browse Source

Исправлено вычисление переменной вне действия

tags/3.4.7.1
parent
commit
3594859663
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      pym/update/variables/update.py

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

@@ -1025,9 +1025,10 @@ class VariableClUpdateProfileRepoName(ReadonlyVariable):
def get(self):
rep_set = self.Get(self.storage)
url = self.Get(self.url)
rep = rep_set.get_repository(url, branch=None)
if rep:
return rep.repo_name
if url:
rep = rep_set.get_repository(url, branch=None)
if rep:
return rep.repo_name
return ""




Loading…
Cancel
Save