bitbake/lib/bb/fetch/wget.py:
authorHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 8 Jan 2006 11:00:32 +0000 (11:00 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 8 Jan 2006 11:00:32 +0000 (11:00 +0000)
    -Do not error out if there is no md5sum key in
     the parameter map

lib/bb/fetch/wget.py

index 4a7d11b..e47a885 100644 (file)
@@ -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):
             """