mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-26 10:51:14 -04:00
Report missing srclib properly
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user