[OE-core] [PATCH v2] insane: file-rdeps: Readability only
Douglas Royds
douglas.royds at taitradio.com
Mon Nov 4 20:55:45 UTC 2019
On 4/11/19 11:29 PM, Richard Purdie wrote:
> On Mon, 2019-11-04 at 17:52 +1300, Douglas Royds via Openembedded-core
> wrote:
>> Mostly just longer (and hopefully more meaningful) variable names.
> "Mostly" - what else is in there?
Readability changes only.
* Longer variable names
* Reworded some comments
* Some extra blank lines (as visual paragraph breaks)
I replaced this comment + hard-coded string-length:
# We already know it starts with FILERDEPENDS_
filerdepends[subkey] = key[13:]
With this one-liner:
unsatisfied_rdepends[target_dependency] =
executable_that_rdepends[len('FILERDEPENDS_'):]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20191105/ea68459a/attachment.html>
More information about the Openembedded-core
mailing list