chiark / gitweb /
Don't stop if srclib paths are hard-coded
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 7 Oct 2013 22:38:24 +0000 (00:38 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 7 Oct 2013 22:38:24 +0000 (00:38 +0200)
If the raise takes place, UCMs with srclibs don't work.

fdroidserver/common.py

index c4b9beea21a27d205c96ebcf654a4f480548a2a6..809dd326f338e002191ad2b72685c53414acfebb 100644 (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)