[OE-core] [OE-Core][PATCH] package_deb.bbclass: fix Python 3 error
Matt Madison
matt at madison.systems
Wed Jul 20 12:12:48 UTC 2016
On Wed, Jul 20, 2016 at 4:56 AM, Burton, Ross <ross.burton at intel.com> wrote:
>
> On 19 July 2016 at 13:18, Matt Madison <matt at madison.systems> wrote:
>>
>> - for dep in rdepends.keys():
>> + for dep in [k for k in rdepends.keys()]:
>
>
> I'll admit to being fairly new to Python 3 idioms, but wouldn't
> list(rdepends.keys()) be neater?
I'm no expert, either, and that way works fine, too - I'll send out a
V2 shortly.
Thanks,
-Matt
>
> Ross
More information about the Openembedded-core
mailing list