chiark / gitweb /
Revert "Don't stop if srclib paths are hard-coded"
authorCiaran Gultnieks <ciaran@ciarang.com>
Wed, 9 Oct 2013 09:11:34 +0000 (10:11 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Wed, 9 Oct 2013 09:11:34 +0000 (10:11 +0100)
This reverts commit 33a95637c029e3ac8bb6cfee6bbe273fcf818a33.

fdroidserver/common.py

index 3e56dd10ae53c073f2dcf857a7e0c42c2616cea9..2d107d878bc0fb95aae11f03afa3552e4fd37b0d 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:
-            print "Warning: srclib paths are hard-coded!"
+            raise VCSException("Error: srclib paths are hard-coded!")
         return getsrclib(remote, 'build/srclib', sdk_path, raw=True)
     raise VCSException("Invalid vcs type " + vcstype)