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