1
0
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:
Ciaran Gultnieks 2013-05-31 07:50:47 +01:00
parent 78aa9d1874
commit 7707e0902e

View File

@ -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: