summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2006-01-08 11:00:32 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2006-01-08 11:00:32 +0000
commita5af872e89bab2acd13a3d6da45d1cfec4c5fbd2 (patch)
tree762b8d50d76161cde5dac4da6736e302fb4c67c5
parent0b8a6e19e37ec88875f951587c4021924cd758f9 (diff)
downloadbitbake-a5af872e89bab2acd13a3d6da45d1cfec4c5fbd2.tar.gz
bitbake/lib/bb/fetch/wget.py:
-Do not error out if there is no md5sum key in the parameter map
-rw-r--r--lib/bb/fetch/wget.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/bb/fetch/wget.py b/lib/bb/fetch/wget.py
index 4a7d11b46..e47a8859b 100644
--- a/lib/bb/fetch/wget.py
+++ b/lib/bb/fetch/wget.py
@@ -63,7 +63,10 @@ class Wget(Fetch):
file.
It can return None if no md5sum is associated
"""
- return parm['md5sum']
+ try:
+ return parm['md5sum']
+ except:
+ return None
def verify_md5sum(wanted_sum, got_sum):
"""