diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2005-07-21 22:19:43 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2005-07-21 22:19:43 +0000 |
commit | e870cc5a7711a956fbdef41c112345429f2a9c48 (patch) | |
tree | 2d0bbf5925d22af10dc771d081b8f46a3d23278b | |
parent | 10668e5c62e0d46d8ecf341b8d850fa3099d36e4 (diff) | |
download | bitbake-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.py | 3 |
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'}) |