From 33a95637c029e3ac8bb6cfee6bbe273fcf818a33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Tue, 8 Oct 2013 00:38:24 +0200 Subject: [PATCH] Don't stop if srclib paths are hard-coded If the raise takes place, UCMs with srclibs don't work. --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)