mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
Report missing srclib properly
This commit is contained in:
parent
78aa9d1874
commit
7707e0902e
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue