summaryrefslogtreecommitdiff
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-27 22:23:04 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-27 22:23:04 +0000
commitb12795d49f2ad0a490bdd887e58ce0a8133a1158 (patch)
tree77b5499dbab0a8cc995b179f796dc6e727e37c84 /bitbake/lib
parent3431d4125a858239b9ec8f39e69b769270996bbe (diff)
downloadopenembedded-core-b12795d49f2ad0a490bdd887e58ce0a8133a1158.tar.gz
openembedded-core-b12795d49f2ad0a490bdd887e58ce0a8133a1158.tar.bz2
openembedded-core-b12795d49f2ad0a490bdd887e58ce0a8133a1158.tar.xz
openembedded-core-b12795d49f2ad0a490bdd887e58ce0a8133a1158.zip
bitbake fetcher: Make invalid url errors clearer
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3262 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/fetch/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py
index d75c618de..700efcb4a 100644
--- a/bitbake/lib/bb/fetch/__init__.py
+++ b/bitbake/lib/bb/fetch/__init__.py
@@ -281,7 +281,8 @@ class FetchData(object):
for m in methods:
if m.supports(url, self, d):
self.method = m
- break
+ return
+ raise NoMethodError("Missing implementation for url %s" % url)
def setup_localpath(self, d):
self.setup = True