From: Richard Purdie Date: Tue, 27 Nov 2007 22:23:04 +0000 (+0000) Subject: bitbake fetcher: Make invalid url errors clearer X-Git-Tag: 2011-1~10160 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b12795d49f2ad0a490bdd887e58ce0a8133a1158;p=openembedded-core.git bitbake fetcher: Make invalid url errors clearer git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3262 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- 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