summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2005-07-21 22:19:43 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2005-07-21 22:19:43 +0000
commite870cc5a7711a956fbdef41c112345429f2a9c48 (patch)
tree2d0bbf5925d22af10dc771d081b8f46a3d23278b
parent10668e5c62e0d46d8ecf341b8d850fa3099d36e4 (diff)
downloadbitbake-e870cc5a7711a956fbdef41c112345429f2a9c48.tar.gz
bitbake/lib/bb/fetch.py:
-Create a MD5SumException. We will throw it when the sums do not match.
-rw-r--r--lib/bb/fetch.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/fetch.py b/lib/bb/fetch.py
index f773e97eb..2a80a6ff6 100644
--- a/lib/bb/fetch.py
+++ b/lib/bb/fetch.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 MD5SumError(Exception):
+ """Exception raised when a MD5SUM of a file does not match the expected one"""
+
#decodeurl("cvs://anoncvs:anonymous@cvs.handhelds.org/cvs;module=familiar/dist/ipkg;tag=V0-99-81")
#('cvs', 'cvs.handhelds.org', '/cvs', 'anoncvs', 'anonymous', {'tag': 'V0-99-81', 'module': 'familiar/dist/ipkg'})