summaryrefslogtreecommitdiffstats
path: root/bitbake
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
parent3431d4125a858239b9ec8f39e69b769270996bbe (diff)
downloadpoky-b12795d49f2ad0a490bdd887e58ce0a8133a1158.tar.gz
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')
-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 d75c618de6..700efcb4ac 100644
--- a/bitbake/lib/bb/fetch/__init__.py
+++ b/bitbake/lib/bb/fetch/__init__.py
@@ -281,7 +281,8 @@ class FetchData(object):
281 for m in methods: 281 for m in methods:
282 if m.supports(url, self, d): 282 if m.supports(url, self, d):
283 self.method = m 283 self.method = m
284 break 284 return
285 raise NoMethodError("Missing implementation for url %s" % url)
285 286
286 def setup_localpath(self, d): 287 def setup_localpath(self, d):
287 self.setup = True 288 self.setup = True