diff options
Diffstat (limited to 'bitbake/lib/bb/__init__.py')
-rw-r--r-- | bitbake/lib/bb/__init__.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py index aa0c6de311..3195e72a62 100644 --- a/bitbake/lib/bb/__init__.py +++ b/bitbake/lib/bb/__init__.py | |||
@@ -80,11 +80,9 @@ if "BBDEBUG" in os.environ: | |||
80 | if level: | 80 | if level: |
81 | bb.msg.set_debug_level(level) | 81 | bb.msg.set_debug_level(level) |
82 | 82 | ||
83 | class VarExpandError(Exception): | 83 | # For compatibility |
84 | pass | 84 | from bb.fetch import MalformedUrl |
85 | 85 | from bb.data import VarExpandError | |
86 | class MalformedUrl(Exception): | ||
87 | """Exception raised when encountering an invalid url""" | ||
88 | 86 | ||
89 | 87 | ||
90 | ####################################################################### | 88 | ####################################################################### |