diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-11-17 15:40:51 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:41 +0000 |
commit | 4df0d6adcaae5382009c356d750e7909a44284f6 (patch) | |
tree | d3b8b48e0ded47a63c4ea65b56add754cc750126 /bitbake/lib/bb/fetch/__init__.py | |
parent | b7d667f25283cddf8ff4fc9e35425a884a9f527e (diff) | |
download | poky-4df0d6adcaae5382009c356d750e7909a44284f6.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/bb/fetch/__init__.py')
-rw-r--r-- | bitbake/lib/bb/fetch/__init__.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py index 18775301a3..0562d72a23 100644 --- a/bitbake/lib/bb/fetch/__init__.py +++ b/bitbake/lib/bb/fetch/__init__.py | |||
@@ -733,9 +733,7 @@ class Fetch(object): | |||
733 | """ | 733 | """ |
734 | Verify the md5sum we wanted with the one we got | 734 | Verify the md5sum we wanted with the one we got |
735 | """ | 735 | """ |
736 | wanted_sum = None | 736 | wanted_sum = ud.parm.get('md5sum') |
737 | if 'md5sum' in ud.parm: | ||
738 | wanted_sum = ud.parm['md5sum'] | ||
739 | if not wanted_sum: | 737 | if not wanted_sum: |
740 | return True | 738 | return True |
741 | 739 | ||