OMV github doesn't have groups in repo path

This commit is contained in:
Denis Silakov 2018-10-21 11:45:57 +03:00
parent 87f2dc2b9b
commit 9c8eb76cba

3
abf.py
View file

@ -772,7 +772,8 @@ def get():
exit(1)
elif len(tmp) == 1:
project_name = proj
proj = '%s/%s' % (cfg['user']['default_group'], proj)
if 'github.com' not in cfg['user']['git_uri']:
proj = '%s/%s' % (cfg['user']['default_group'], proj)
elif len(tmp) == 2:
project_name = tmp[1]