aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch/__init__.py')
-rw-r--r--bitbake/lib/bb/fetch/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py
index cedf839860..875cda8929 100644
--- a/bitbake/lib/bb/fetch/__init__.py
+++ b/bitbake/lib/bb/fetch/__init__.py
@@ -29,6 +29,9 @@ import bb
from bb import data
from bb import persist_data
+class MalformedUrl(Exception):
+ """Exception raised when encountering an invalid url"""
+
class FetchError(Exception):
"""Exception raised when a download fails"""