From: Daniel Martí Date: Mon, 7 Oct 2013 22:38:24 +0000 (+0200) Subject: Don't stop if srclib paths are hard-coded X-Git-Tag: 0.1~379 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=33a95637c029e3ac8bb6cfee6bbe273fcf818a33;p=fdroidserver.git Don't stop if srclib paths are hard-coded If the raise takes place, UCMs with srclibs don't work. --- diff --git a/fdroidserver/common.py b/fdroidserver/common.py index c4b9beea..809dd326 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -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)