1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-16 03:47:03 +00:00

fetch: be more pythonic

no functional changes

(Bitbake rev: e88834fb7c6821cc29c12d296f2edd51f6eb3746)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Bernhard Reutner-Fischer
2010-11-17 15:40:51 +01:00
committed by Richard Purdie
parent b7d667f252
commit 4df0d6adca
9 changed files with 21 additions and 64 deletions
+1 -3
View File
@@ -733,9 +733,7 @@ class Fetch(object):
"""
Verify the md5sum we wanted with the one we got
"""
wanted_sum = None
if 'md5sum' in ud.parm:
wanted_sum = ud.parm['md5sum']
wanted_sum = ud.parm.get('md5sum')
if not wanted_sum:
return True