Minor comment

This commit is contained in:
Denis Silakov 2018-10-23 15:25:52 +03:00
parent 4deab75bbd
commit 2203b591ea

View file

@ -48,6 +48,7 @@ def get_project_name(path=None):
m = re.compile("^.*Fetch URL:\s+.*[:/]([^/]+)/([^/]+)[.]git$",re.MULTILINE).search(output)
if m:
owner_name, project_name = m.groups()
# Cant tell abf owner from github loc, so let's hardocde it
if "OpenMandriva" in owner_name:
return ("openmandriva", project_name)
return (owner_name, project_name)