diff options
author | Chris Larson <clarson@mvista.com> | 2009-07-07 15:19:07 -0700 |
---|---|---|
committer | Chris Larson <clarson@mvista.com> | 2009-08-19 13:31:48 -0700 |
commit | ac729cee6058e9e601af4869874213ccd129c732 (patch) | |
tree | 70fde9904dfed2912f15e9354305bbdb3ea3d5aa /classes/base.bbclass | |
parent | aea9acb329d715db851c1bed8506c3d0f9b42ae1 (diff) |
base.bbclass: catch bb.MalformedUrl in do_fetch.
Signed-off-by: Chris Larson <clarson@mvista.com>
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r-- | classes/base.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass index aed927404a..598a7bb77f 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -620,6 +620,9 @@ python base_do_fetch() { except bb.fetch.NoMethodError: (type, value, traceback) = sys.exc_info() raise bb.build.FuncFailed("No method: %s" % value) + except bb.MalformedUrl: + (type, value, traceback) = sys.exc_info() + raise bb.build.FuncFailed("Malformed URL: %s" % value) try: bb.fetch.go(localdata) |