From b12795d49f2ad0a490bdd887e58ce0a8133a1158 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 27 Nov 2007 22:23:04 +0000 Subject: [PATCH] bitbake fetcher: Make invalid url errors clearer git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3262 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- bitbake/lib/bb/fetch/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py index d75c618de6..700efcb4ac 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