[OE-core] [OE-Core][PATCH] package_deb.bbclass: fix Python 3 error

Burton, Ross ross.burton at intel.com
Wed Jul 20 11:56:14 UTC 2016


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?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160720/14c1bc9f/attachment-0002.html>


More information about the Openembedded-core mailing list