mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Report missing srclib properly
This commit is contained in:
parent
78aa9d1874
commit
7707e0902e
@ -40,6 +40,8 @@ def getvcs(vcstype, remote, local, sdk_path):
|
||||
|
||||
def getsrclibvcs(name):
|
||||
srclib_path = os.path.join('srclibs', name + ".txt")
|
||||
if not os.path.exists(srclib_path):
|
||||
raise VCSException("Missing srclib " + name)
|
||||
return parse_srclib(srclib_path)['Repo Type']
|
||||
|
||||
class vcs:
|
||||
|
Loading…
Reference in New Issue
Block a user