summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2006-05-27 20:29:54 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2006-05-27 20:29:54 +0000
commit0da4abd2993305a3c762445b2535dbbabbe3905e (patch)
treefcff96557ee8a2b7c76a1c7f50da8c784ab71584
parentbcdbdcb7e327233f14ce833ca1b5a439b950070e (diff)
downloadbitbake-0da4abd2993305a3c762445b2535dbbabbe3905e.tar.gz
fetcher module:
Add ParameterError as Exception from bug report #72
-rw-r--r--lib/bb/fetch/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/fetch/__init__.py b/lib/bb/fetch/__init__.py
index 0515f2a5e..a1d7396ce 100644
--- a/lib/bb/fetch/__init__.py
+++ b/lib/bb/fetch/__init__.py
@@ -38,6 +38,9 @@ class NoMethodError(Exception):
class MissingParameterError(Exception):
"""Exception raised when a fetch method is missing a critical parameter in the url"""
+class ParameterError(Exception):
+ """Exception raised when a url cannot be proccessed due to invalid parameters."""
+
class MD5SumError(Exception):
"""Exception raised when a MD5SUM of a file does not match the expected one"""