mirror of
https://abf.rosa.ru/djam/abf-console-client-src.git
synced 2025-02-24 02:12:49 +00:00
Minor comment
This commit is contained in:
parent
4deab75bbd
commit
2203b591ea
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ def get_project_name(path=None):
|
||||||
m = re.compile("^.*Fetch URL:\s+.*[:/]([^/]+)/([^/]+)[.]git$",re.MULTILINE).search(output)
|
m = re.compile("^.*Fetch URL:\s+.*[:/]([^/]+)/([^/]+)[.]git$",re.MULTILINE).search(output)
|
||||||
if m:
|
if m:
|
||||||
owner_name, project_name = m.groups()
|
owner_name, project_name = m.groups()
|
||||||
|
# Cant tell abf owner from github loc, so let's hardocde it
|
||||||
if "OpenMandriva" in owner_name:
|
if "OpenMandriva" in owner_name:
|
||||||
return ("openmandriva", project_name)
|
return ("openmandriva", project_name)
|
||||||
return (owner_name, project_name)
|
return (owner_name, project_name)
|
||||||
|
|
Loading…
Add table
Reference in a new issue