1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

Don't stop if srclib paths are hard-coded

If the raise takes place, UCMs with srclibs don't work.
This commit is contained in:
Daniel Martí 2013-10-08 00:38:24 +02:00
parent 12261e72b9
commit 33a95637c0

View File

@ -37,7 +37,7 @@ def getvcs(vcstype, remote, local, sdk_path):
return vcs_bzr(remote, local, sdk_path)
if vcstype == 'srclib':
if local != 'build/srclib/' + remote:
raise VCSException("Error: srclib paths are hard-coded!")
print "Warning: srclib paths are hard-coded!"
return getsrclib(remote, 'build/srclib', sdk_path, raw=True)
raise VCSException("Invalid vcs type " + vcstype)